tencentcloud-sdk-python 3.0.1353__py2.py3-none-any.whl → 3.0.1355__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/bh/v20230418/models.py +15 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +224 -0
- tencentcloud/ckafka/v20190819/models.py +4 -4
- tencentcloud/clb/v20180317/models.py +19 -0
- tencentcloud/dts/v20211206/models.py +92 -0
- tencentcloud/gs/v20191118/models.py +112 -2
- tencentcloud/iotexplorer/v20190423/models.py +0 -4
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +1 -1
- tencentcloud/ocr/v20181119/models.py +15 -0
- tencentcloud/tcss/v20201101/models.py +8 -2
- tencentcloud/teo/v20220901/errorcodes.py +3 -0
- tencentcloud/tse/v20201207/models.py +0 -496
- tencentcloud/wedata/v20210820/models.py +15 -0
- {tencentcloud_sdk_python-3.0.1353.dist-info → tencentcloud_sdk_python-3.0.1355.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1353.dist-info → tencentcloud_sdk_python-3.0.1355.dist-info}/RECORD +20 -20
- {tencentcloud_sdk_python-3.0.1353.dist-info → tencentcloud_sdk_python-3.0.1355.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1353.dist-info → tencentcloud_sdk_python-3.0.1355.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1353.dist-info → tencentcloud_sdk_python-3.0.1355.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -14643,6 +14643,8 @@ class SessionResult(AbstractModel):
|
|
14643
14643
|
:type AppAssetKind: int
|
14644
14644
|
:param _AppAssetUrl: 应用资产url
|
14645
14645
|
:type AppAssetUrl: str
|
14646
|
+
:param _ReplayType: 回放类型 默认0, 1-rfb 2-mp4 3-ssh
|
14647
|
+
:type ReplayType: int
|
14646
14648
|
"""
|
14647
14649
|
self._UserName = None
|
14648
14650
|
self._RealName = None
|
@@ -14664,6 +14666,7 @@ class SessionResult(AbstractModel):
|
|
14664
14666
|
self._Protocol = None
|
14665
14667
|
self._AppAssetKind = None
|
14666
14668
|
self._AppAssetUrl = None
|
14669
|
+
self._ReplayType = None
|
14667
14670
|
|
14668
14671
|
@property
|
14669
14672
|
def UserName(self):
|
@@ -14885,6 +14888,17 @@ class SessionResult(AbstractModel):
|
|
14885
14888
|
def AppAssetUrl(self, AppAssetUrl):
|
14886
14889
|
self._AppAssetUrl = AppAssetUrl
|
14887
14890
|
|
14891
|
+
@property
|
14892
|
+
def ReplayType(self):
|
14893
|
+
"""回放类型 默认0, 1-rfb 2-mp4 3-ssh
|
14894
|
+
:rtype: int
|
14895
|
+
"""
|
14896
|
+
return self._ReplayType
|
14897
|
+
|
14898
|
+
@ReplayType.setter
|
14899
|
+
def ReplayType(self, ReplayType):
|
14900
|
+
self._ReplayType = ReplayType
|
14901
|
+
|
14888
14902
|
|
14889
14903
|
def _deserialize(self, params):
|
14890
14904
|
self._UserName = params.get("UserName")
|
@@ -14907,6 +14921,7 @@ class SessionResult(AbstractModel):
|
|
14907
14921
|
self._Protocol = params.get("Protocol")
|
14908
14922
|
self._AppAssetKind = params.get("AppAssetKind")
|
14909
14923
|
self._AppAssetUrl = params.get("AppAssetUrl")
|
14924
|
+
self._ReplayType = params.get("ReplayType")
|
14910
14925
|
memeber_set = set(params.keys())
|
14911
14926
|
for name, value in vars(self).items():
|
14912
14927
|
property_name = name[1:]
|
@@ -904,6 +904,29 @@ class CfwClient(AbstractClient):
|
|
904
904
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
905
905
|
|
906
906
|
|
907
|
+
def DescribeCfwInsStatus(self, request):
|
908
|
+
"""cfw实例运行状态查询
|
909
|
+
|
910
|
+
:param request: Request instance for DescribeCfwInsStatus.
|
911
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeCfwInsStatusRequest`
|
912
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeCfwInsStatusResponse`
|
913
|
+
|
914
|
+
"""
|
915
|
+
try:
|
916
|
+
params = request._serialize()
|
917
|
+
headers = request.headers
|
918
|
+
body = self.call("DescribeCfwInsStatus", params, headers=headers)
|
919
|
+
response = json.loads(body)
|
920
|
+
model = models.DescribeCfwInsStatusResponse()
|
921
|
+
model._deserialize(response["Response"])
|
922
|
+
return model
|
923
|
+
except Exception as e:
|
924
|
+
if isinstance(e, TencentCloudSDKException):
|
925
|
+
raise
|
926
|
+
else:
|
927
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
928
|
+
|
929
|
+
|
907
930
|
def DescribeDefenseSwitch(self, request):
|
908
931
|
"""获取入侵防御按钮列表
|
909
932
|
|
@@ -1731,6 +1731,159 @@ class BlockIgnoreRule(AbstractModel):
|
|
1731
1731
|
|
1732
1732
|
|
1733
1733
|
|
1734
|
+
class CfwInsStatus(AbstractModel):
|
1735
|
+
"""防火墙实例运行状态
|
1736
|
+
|
1737
|
+
"""
|
1738
|
+
|
1739
|
+
def __init__(self):
|
1740
|
+
r"""
|
1741
|
+
:param _CfwInsId: 防火墙实例id
|
1742
|
+
:type CfwInsId: str
|
1743
|
+
:param _FwType: 防火墙类型,nat:nat防火墙;ew:vpc间防火墙
|
1744
|
+
:type FwType: str
|
1745
|
+
:param _Region: 实例所属地域
|
1746
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1747
|
+
:type Region: str
|
1748
|
+
:param _Status: 实例运行状态,Running:正常运行;BypassAutoFix:bypass修复;Updating:升级中;Expand:扩容中;BypassManual:手动触发bypass中;BypassAuto:自动触发bypass中
|
1749
|
+
:type Status: str
|
1750
|
+
:param _EventTime: 事件时间
|
1751
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1752
|
+
:type EventTime: str
|
1753
|
+
:param _RecoverTime: 恢复时间
|
1754
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1755
|
+
:type RecoverTime: str
|
1756
|
+
:param _CfwInsName: 实例名称
|
1757
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1758
|
+
:type CfwInsName: str
|
1759
|
+
:param _TrafficMode: Normal: 正常模式
|
1760
|
+
OnlyRoute: 透明模式
|
1761
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1762
|
+
:type TrafficMode: str
|
1763
|
+
"""
|
1764
|
+
self._CfwInsId = None
|
1765
|
+
self._FwType = None
|
1766
|
+
self._Region = None
|
1767
|
+
self._Status = None
|
1768
|
+
self._EventTime = None
|
1769
|
+
self._RecoverTime = None
|
1770
|
+
self._CfwInsName = None
|
1771
|
+
self._TrafficMode = None
|
1772
|
+
|
1773
|
+
@property
|
1774
|
+
def CfwInsId(self):
|
1775
|
+
"""防火墙实例id
|
1776
|
+
:rtype: str
|
1777
|
+
"""
|
1778
|
+
return self._CfwInsId
|
1779
|
+
|
1780
|
+
@CfwInsId.setter
|
1781
|
+
def CfwInsId(self, CfwInsId):
|
1782
|
+
self._CfwInsId = CfwInsId
|
1783
|
+
|
1784
|
+
@property
|
1785
|
+
def FwType(self):
|
1786
|
+
"""防火墙类型,nat:nat防火墙;ew:vpc间防火墙
|
1787
|
+
:rtype: str
|
1788
|
+
"""
|
1789
|
+
return self._FwType
|
1790
|
+
|
1791
|
+
@FwType.setter
|
1792
|
+
def FwType(self, FwType):
|
1793
|
+
self._FwType = FwType
|
1794
|
+
|
1795
|
+
@property
|
1796
|
+
def Region(self):
|
1797
|
+
"""实例所属地域
|
1798
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1799
|
+
:rtype: str
|
1800
|
+
"""
|
1801
|
+
return self._Region
|
1802
|
+
|
1803
|
+
@Region.setter
|
1804
|
+
def Region(self, Region):
|
1805
|
+
self._Region = Region
|
1806
|
+
|
1807
|
+
@property
|
1808
|
+
def Status(self):
|
1809
|
+
"""实例运行状态,Running:正常运行;BypassAutoFix:bypass修复;Updating:升级中;Expand:扩容中;BypassManual:手动触发bypass中;BypassAuto:自动触发bypass中
|
1810
|
+
:rtype: str
|
1811
|
+
"""
|
1812
|
+
return self._Status
|
1813
|
+
|
1814
|
+
@Status.setter
|
1815
|
+
def Status(self, Status):
|
1816
|
+
self._Status = Status
|
1817
|
+
|
1818
|
+
@property
|
1819
|
+
def EventTime(self):
|
1820
|
+
"""事件时间
|
1821
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1822
|
+
:rtype: str
|
1823
|
+
"""
|
1824
|
+
return self._EventTime
|
1825
|
+
|
1826
|
+
@EventTime.setter
|
1827
|
+
def EventTime(self, EventTime):
|
1828
|
+
self._EventTime = EventTime
|
1829
|
+
|
1830
|
+
@property
|
1831
|
+
def RecoverTime(self):
|
1832
|
+
"""恢复时间
|
1833
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1834
|
+
:rtype: str
|
1835
|
+
"""
|
1836
|
+
return self._RecoverTime
|
1837
|
+
|
1838
|
+
@RecoverTime.setter
|
1839
|
+
def RecoverTime(self, RecoverTime):
|
1840
|
+
self._RecoverTime = RecoverTime
|
1841
|
+
|
1842
|
+
@property
|
1843
|
+
def CfwInsName(self):
|
1844
|
+
"""实例名称
|
1845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1846
|
+
:rtype: str
|
1847
|
+
"""
|
1848
|
+
return self._CfwInsName
|
1849
|
+
|
1850
|
+
@CfwInsName.setter
|
1851
|
+
def CfwInsName(self, CfwInsName):
|
1852
|
+
self._CfwInsName = CfwInsName
|
1853
|
+
|
1854
|
+
@property
|
1855
|
+
def TrafficMode(self):
|
1856
|
+
"""Normal: 正常模式
|
1857
|
+
OnlyRoute: 透明模式
|
1858
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1859
|
+
:rtype: str
|
1860
|
+
"""
|
1861
|
+
return self._TrafficMode
|
1862
|
+
|
1863
|
+
@TrafficMode.setter
|
1864
|
+
def TrafficMode(self, TrafficMode):
|
1865
|
+
self._TrafficMode = TrafficMode
|
1866
|
+
|
1867
|
+
|
1868
|
+
def _deserialize(self, params):
|
1869
|
+
self._CfwInsId = params.get("CfwInsId")
|
1870
|
+
self._FwType = params.get("FwType")
|
1871
|
+
self._Region = params.get("Region")
|
1872
|
+
self._Status = params.get("Status")
|
1873
|
+
self._EventTime = params.get("EventTime")
|
1874
|
+
self._RecoverTime = params.get("RecoverTime")
|
1875
|
+
self._CfwInsName = params.get("CfwInsName")
|
1876
|
+
self._TrafficMode = params.get("TrafficMode")
|
1877
|
+
memeber_set = set(params.keys())
|
1878
|
+
for name, value in vars(self).items():
|
1879
|
+
property_name = name[1:]
|
1880
|
+
if property_name in memeber_set:
|
1881
|
+
memeber_set.remove(property_name)
|
1882
|
+
if len(memeber_set) > 0:
|
1883
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1884
|
+
|
1885
|
+
|
1886
|
+
|
1734
1887
|
class CfwNatDnatRule(AbstractModel):
|
1735
1888
|
"""NAT防火墙Dnat规则
|
1736
1889
|
|
@@ -8690,6 +8843,77 @@ class DescribeCfwEipsResponse(AbstractModel):
|
|
8690
8843
|
self._RequestId = params.get("RequestId")
|
8691
8844
|
|
8692
8845
|
|
8846
|
+
class DescribeCfwInsStatusRequest(AbstractModel):
|
8847
|
+
"""DescribeCfwInsStatus请求参数结构体
|
8848
|
+
|
8849
|
+
"""
|
8850
|
+
|
8851
|
+
|
8852
|
+
class DescribeCfwInsStatusResponse(AbstractModel):
|
8853
|
+
"""DescribeCfwInsStatus返回参数结构体
|
8854
|
+
|
8855
|
+
"""
|
8856
|
+
|
8857
|
+
def __init__(self):
|
8858
|
+
r"""
|
8859
|
+
:param _CfwInsStatus: 防火墙实例运行状态
|
8860
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8861
|
+
:type CfwInsStatus: list of CfwInsStatus
|
8862
|
+
:param _TotalCount: 0
|
8863
|
+
:type TotalCount: int
|
8864
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8865
|
+
:type RequestId: str
|
8866
|
+
"""
|
8867
|
+
self._CfwInsStatus = None
|
8868
|
+
self._TotalCount = None
|
8869
|
+
self._RequestId = None
|
8870
|
+
|
8871
|
+
@property
|
8872
|
+
def CfwInsStatus(self):
|
8873
|
+
"""防火墙实例运行状态
|
8874
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8875
|
+
:rtype: list of CfwInsStatus
|
8876
|
+
"""
|
8877
|
+
return self._CfwInsStatus
|
8878
|
+
|
8879
|
+
@CfwInsStatus.setter
|
8880
|
+
def CfwInsStatus(self, CfwInsStatus):
|
8881
|
+
self._CfwInsStatus = CfwInsStatus
|
8882
|
+
|
8883
|
+
@property
|
8884
|
+
def TotalCount(self):
|
8885
|
+
"""0
|
8886
|
+
:rtype: int
|
8887
|
+
"""
|
8888
|
+
return self._TotalCount
|
8889
|
+
|
8890
|
+
@TotalCount.setter
|
8891
|
+
def TotalCount(self, TotalCount):
|
8892
|
+
self._TotalCount = TotalCount
|
8893
|
+
|
8894
|
+
@property
|
8895
|
+
def RequestId(self):
|
8896
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8897
|
+
:rtype: str
|
8898
|
+
"""
|
8899
|
+
return self._RequestId
|
8900
|
+
|
8901
|
+
@RequestId.setter
|
8902
|
+
def RequestId(self, RequestId):
|
8903
|
+
self._RequestId = RequestId
|
8904
|
+
|
8905
|
+
|
8906
|
+
def _deserialize(self, params):
|
8907
|
+
if params.get("CfwInsStatus") is not None:
|
8908
|
+
self._CfwInsStatus = []
|
8909
|
+
for item in params.get("CfwInsStatus"):
|
8910
|
+
obj = CfwInsStatus()
|
8911
|
+
obj._deserialize(item)
|
8912
|
+
self._CfwInsStatus.append(obj)
|
8913
|
+
self._TotalCount = params.get("TotalCount")
|
8914
|
+
self._RequestId = params.get("RequestId")
|
8915
|
+
|
8916
|
+
|
8693
8917
|
class DescribeDefenseSwitchRequest(AbstractModel):
|
8694
8918
|
"""DescribeDefenseSwitch请求参数结构体
|
8695
8919
|
|
@@ -24275,9 +24275,9 @@ class ModifyTopicAttributesRequest(AbstractModel):
|
|
24275
24275
|
:type RetentionBytes: int
|
24276
24276
|
:param _Tags: 标签列表
|
24277
24277
|
:type Tags: list of Tag
|
24278
|
-
:param _QuotaProducerByteRate: 生产限流,单位 MB/s
|
24278
|
+
:param _QuotaProducerByteRate: 生产限流,单位 MB/s;设置为-1,则生产不限流
|
24279
24279
|
:type QuotaProducerByteRate: int
|
24280
|
-
:param _QuotaConsumerByteRate: 消费限流,单位 MB/s
|
24280
|
+
:param _QuotaConsumerByteRate: 消费限流,单位 MB/s;设置为-1,则消费不限流
|
24281
24281
|
:type QuotaConsumerByteRate: int
|
24282
24282
|
:param _ReplicaNum: topic副本数 最小值 1,最大值 3
|
24283
24283
|
:type ReplicaNum: int
|
@@ -24468,7 +24468,7 @@ class ModifyTopicAttributesRequest(AbstractModel):
|
|
24468
24468
|
|
24469
24469
|
@property
|
24470
24470
|
def QuotaProducerByteRate(self):
|
24471
|
-
"""生产限流,单位 MB/s
|
24471
|
+
"""生产限流,单位 MB/s;设置为-1,则生产不限流
|
24472
24472
|
:rtype: int
|
24473
24473
|
"""
|
24474
24474
|
return self._QuotaProducerByteRate
|
@@ -24479,7 +24479,7 @@ class ModifyTopicAttributesRequest(AbstractModel):
|
|
24479
24479
|
|
24480
24480
|
@property
|
24481
24481
|
def QuotaConsumerByteRate(self):
|
24482
|
-
"""消费限流,单位 MB/s
|
24482
|
+
"""消费限流,单位 MB/s;设置为-1,则消费不限流
|
24483
24483
|
:rtype: int
|
24484
24484
|
"""
|
24485
24485
|
return self._QuotaConsumerByteRate
|
@@ -21410,6 +21410,10 @@ class TargetGroupInfo(AbstractModel):
|
|
21410
21410
|
:param _AssociatedRule: 关联到的规则数组。在DescribeTargetGroupList接口调用时无法获取到该参数。
|
21411
21411
|
注意:此字段可能返回 null,表示取不到有效值。
|
21412
21412
|
:type AssociatedRule: list of AssociationItem
|
21413
|
+
:param _Protocol: 后端转发协议类型,支持类型TCP, UDP。仅V2新版目标组支持返回该参数。
|
21414
|
+
|
21415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21416
|
+
:type Protocol: str
|
21413
21417
|
:param _TargetGroupType: 目标组类型,当前支持v1(旧版目标组), v2(新版目标组), gwlb(全局负载均衡目标组)。
|
21414
21418
|
注意:此字段可能返回 null,表示取不到有效值。
|
21415
21419
|
:type TargetGroupType: str
|
@@ -21434,6 +21438,7 @@ class TargetGroupInfo(AbstractModel):
|
|
21434
21438
|
self._CreatedTime = None
|
21435
21439
|
self._UpdatedTime = None
|
21436
21440
|
self._AssociatedRule = None
|
21441
|
+
self._Protocol = None
|
21437
21442
|
self._TargetGroupType = None
|
21438
21443
|
self._AssociatedRuleCount = None
|
21439
21444
|
self._RegisteredInstancesCount = None
|
@@ -21520,6 +21525,19 @@ class TargetGroupInfo(AbstractModel):
|
|
21520
21525
|
def AssociatedRule(self, AssociatedRule):
|
21521
21526
|
self._AssociatedRule = AssociatedRule
|
21522
21527
|
|
21528
|
+
@property
|
21529
|
+
def Protocol(self):
|
21530
|
+
"""后端转发协议类型,支持类型TCP, UDP。仅V2新版目标组支持返回该参数。
|
21531
|
+
|
21532
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21533
|
+
:rtype: str
|
21534
|
+
"""
|
21535
|
+
return self._Protocol
|
21536
|
+
|
21537
|
+
@Protocol.setter
|
21538
|
+
def Protocol(self, Protocol):
|
21539
|
+
self._Protocol = Protocol
|
21540
|
+
|
21523
21541
|
@property
|
21524
21542
|
def TargetGroupType(self):
|
21525
21543
|
"""目标组类型,当前支持v1(旧版目标组), v2(新版目标组), gwlb(全局负载均衡目标组)。
|
@@ -21604,6 +21622,7 @@ class TargetGroupInfo(AbstractModel):
|
|
21604
21622
|
obj = AssociationItem()
|
21605
21623
|
obj._deserialize(item)
|
21606
21624
|
self._AssociatedRule.append(obj)
|
21625
|
+
self._Protocol = params.get("Protocol")
|
21607
21626
|
self._TargetGroupType = params.get("TargetGroupType")
|
21608
21627
|
self._AssociatedRuleCount = params.get("AssociatedRuleCount")
|
21609
21628
|
self._RegisteredInstancesCount = params.get("RegisteredInstancesCount")
|
@@ -3619,6 +3619,8 @@ class DBInfo(AbstractModel):
|
|
3619
3619
|
:type TmpSecretKey: str
|
3620
3620
|
:param _TmpToken: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
3621
3621
|
:type TmpToken: str
|
3622
|
+
:param _EncryptConn: 是否走加密传输、UnEncrypted表示不走加密传输,Encrypted表示走加密传输,默认UnEncrypted
|
3623
|
+
:type EncryptConn: str
|
3622
3624
|
:param _SetId: tdsql的分片id。如节点类型为set必填。
|
3623
3625
|
:type SetId: str
|
3624
3626
|
"""
|
@@ -3642,6 +3644,7 @@ class DBInfo(AbstractModel):
|
|
3642
3644
|
self._TmpSecretId = None
|
3643
3645
|
self._TmpSecretKey = None
|
3644
3646
|
self._TmpToken = None
|
3647
|
+
self._EncryptConn = None
|
3645
3648
|
self._SetId = None
|
3646
3649
|
|
3647
3650
|
@property
|
@@ -3864,6 +3867,17 @@ class DBInfo(AbstractModel):
|
|
3864
3867
|
def TmpToken(self, TmpToken):
|
3865
3868
|
self._TmpToken = TmpToken
|
3866
3869
|
|
3870
|
+
@property
|
3871
|
+
def EncryptConn(self):
|
3872
|
+
"""是否走加密传输、UnEncrypted表示不走加密传输,Encrypted表示走加密传输,默认UnEncrypted
|
3873
|
+
:rtype: str
|
3874
|
+
"""
|
3875
|
+
return self._EncryptConn
|
3876
|
+
|
3877
|
+
@EncryptConn.setter
|
3878
|
+
def EncryptConn(self, EncryptConn):
|
3879
|
+
self._EncryptConn = EncryptConn
|
3880
|
+
|
3867
3881
|
@property
|
3868
3882
|
def SetId(self):
|
3869
3883
|
"""tdsql的分片id。如节点类型为set必填。
|
@@ -3897,6 +3911,7 @@ class DBInfo(AbstractModel):
|
|
3897
3911
|
self._TmpSecretId = params.get("TmpSecretId")
|
3898
3912
|
self._TmpSecretKey = params.get("TmpSecretKey")
|
3899
3913
|
self._TmpToken = params.get("TmpToken")
|
3914
|
+
self._EncryptConn = params.get("EncryptConn")
|
3900
3915
|
self._SetId = params.get("SetId")
|
3901
3916
|
memeber_set = set(params.keys())
|
3902
3917
|
for name, value in vars(self).items():
|
@@ -9194,11 +9209,26 @@ class DynamicOptions(AbstractModel):
|
|
9194
9209
|
:type ConflictHandleType: str
|
9195
9210
|
:param _ConflictHandleOption: 冲突处理的详细选项,如条件覆盖中的条件行和条件操作;不能部分更新该选项的内部字段;有更新时、需要全量更新该字段
|
9196
9211
|
:type ConflictHandleOption: :class:`tencentcloud.dts.v20211206.models.ConflictHandleOption`
|
9212
|
+
:param _KafkaOption: 同步到kafka链路的kafka配置
|
9213
|
+
:type KafkaOption: :class:`tencentcloud.dts.v20211206.models.KafkaOption`
|
9214
|
+
:param _FilterBeginCommit: 同步到kafka链路是否过滤掉begin和commit消息。目前仅mysql2kafka链路支持
|
9215
|
+
:type FilterBeginCommit: bool
|
9216
|
+
:param _FilterCheckpoint: 同步到kafka链路是否过滤掉checkpoint消息。目前仅mysql2kafka链路支持
|
9217
|
+
:type FilterCheckpoint: bool
|
9218
|
+
:param _DealOfExistSameTable: 同名表的处理,ReportErrorAfterCheck(前置校验并报错,默认)、ExecuteAfterIgnore(忽略并继续执行)
|
9219
|
+
:type DealOfExistSameTable: str
|
9220
|
+
:param _StartPosition: 仅增量任务重新设置指定位点
|
9221
|
+
:type StartPosition: str
|
9197
9222
|
"""
|
9198
9223
|
self._OpTypes = None
|
9199
9224
|
self._DdlOptions = None
|
9200
9225
|
self._ConflictHandleType = None
|
9201
9226
|
self._ConflictHandleOption = None
|
9227
|
+
self._KafkaOption = None
|
9228
|
+
self._FilterBeginCommit = None
|
9229
|
+
self._FilterCheckpoint = None
|
9230
|
+
self._DealOfExistSameTable = None
|
9231
|
+
self._StartPosition = None
|
9202
9232
|
|
9203
9233
|
@property
|
9204
9234
|
def OpTypes(self):
|
@@ -9244,6 +9274,61 @@ class DynamicOptions(AbstractModel):
|
|
9244
9274
|
def ConflictHandleOption(self, ConflictHandleOption):
|
9245
9275
|
self._ConflictHandleOption = ConflictHandleOption
|
9246
9276
|
|
9277
|
+
@property
|
9278
|
+
def KafkaOption(self):
|
9279
|
+
"""同步到kafka链路的kafka配置
|
9280
|
+
:rtype: :class:`tencentcloud.dts.v20211206.models.KafkaOption`
|
9281
|
+
"""
|
9282
|
+
return self._KafkaOption
|
9283
|
+
|
9284
|
+
@KafkaOption.setter
|
9285
|
+
def KafkaOption(self, KafkaOption):
|
9286
|
+
self._KafkaOption = KafkaOption
|
9287
|
+
|
9288
|
+
@property
|
9289
|
+
def FilterBeginCommit(self):
|
9290
|
+
"""同步到kafka链路是否过滤掉begin和commit消息。目前仅mysql2kafka链路支持
|
9291
|
+
:rtype: bool
|
9292
|
+
"""
|
9293
|
+
return self._FilterBeginCommit
|
9294
|
+
|
9295
|
+
@FilterBeginCommit.setter
|
9296
|
+
def FilterBeginCommit(self, FilterBeginCommit):
|
9297
|
+
self._FilterBeginCommit = FilterBeginCommit
|
9298
|
+
|
9299
|
+
@property
|
9300
|
+
def FilterCheckpoint(self):
|
9301
|
+
"""同步到kafka链路是否过滤掉checkpoint消息。目前仅mysql2kafka链路支持
|
9302
|
+
:rtype: bool
|
9303
|
+
"""
|
9304
|
+
return self._FilterCheckpoint
|
9305
|
+
|
9306
|
+
@FilterCheckpoint.setter
|
9307
|
+
def FilterCheckpoint(self, FilterCheckpoint):
|
9308
|
+
self._FilterCheckpoint = FilterCheckpoint
|
9309
|
+
|
9310
|
+
@property
|
9311
|
+
def DealOfExistSameTable(self):
|
9312
|
+
"""同名表的处理,ReportErrorAfterCheck(前置校验并报错,默认)、ExecuteAfterIgnore(忽略并继续执行)
|
9313
|
+
:rtype: str
|
9314
|
+
"""
|
9315
|
+
return self._DealOfExistSameTable
|
9316
|
+
|
9317
|
+
@DealOfExistSameTable.setter
|
9318
|
+
def DealOfExistSameTable(self, DealOfExistSameTable):
|
9319
|
+
self._DealOfExistSameTable = DealOfExistSameTable
|
9320
|
+
|
9321
|
+
@property
|
9322
|
+
def StartPosition(self):
|
9323
|
+
"""仅增量任务重新设置指定位点
|
9324
|
+
:rtype: str
|
9325
|
+
"""
|
9326
|
+
return self._StartPosition
|
9327
|
+
|
9328
|
+
@StartPosition.setter
|
9329
|
+
def StartPosition(self, StartPosition):
|
9330
|
+
self._StartPosition = StartPosition
|
9331
|
+
|
9247
9332
|
|
9248
9333
|
def _deserialize(self, params):
|
9249
9334
|
self._OpTypes = params.get("OpTypes")
|
@@ -9257,6 +9342,13 @@ class DynamicOptions(AbstractModel):
|
|
9257
9342
|
if params.get("ConflictHandleOption") is not None:
|
9258
9343
|
self._ConflictHandleOption = ConflictHandleOption()
|
9259
9344
|
self._ConflictHandleOption._deserialize(params.get("ConflictHandleOption"))
|
9345
|
+
if params.get("KafkaOption") is not None:
|
9346
|
+
self._KafkaOption = KafkaOption()
|
9347
|
+
self._KafkaOption._deserialize(params.get("KafkaOption"))
|
9348
|
+
self._FilterBeginCommit = params.get("FilterBeginCommit")
|
9349
|
+
self._FilterCheckpoint = params.get("FilterCheckpoint")
|
9350
|
+
self._DealOfExistSameTable = params.get("DealOfExistSameTable")
|
9351
|
+
self._StartPosition = params.get("StartPosition")
|
9260
9352
|
memeber_set = set(params.keys())
|
9261
9353
|
for name, value in vars(self).items():
|
9262
9354
|
property_name = name[1:]
|