tencentcloud-sdk-python-ckafka 3.0.1144__tar.gz → 3.0.1154__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/setup.py +1 -1
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/tencentcloud/ckafka/v20190819/models.py +475 -2
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/tencentcloud_sdk_python_ckafka.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-ckafka-3.0.1154/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-ckafka-3.0.1144/tencentcloud_sdk_python_ckafka.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/README.rst +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/setup.cfg +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/tencentcloud/ckafka/__init__.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/tencentcloud/ckafka/v20190819/__init__.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/tencentcloud/ckafka/v20190819/ckafka_client.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/tencentcloud/ckafka/v20190819/errorcodes.py +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/tencentcloud_sdk_python_ckafka.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/tencentcloud_sdk_python_ckafka.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/tencentcloud_sdk_python_ckafka.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ckafka',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1154"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Ckafka SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2201,12 +2201,16 @@ class ClickHouseSchema(AbstractModel):
|
|
|
2201
2201
|
def __init__(self):
|
|
2202
2202
|
r"""
|
|
2203
2203
|
:param _ColumnName: 表的列名
|
|
2204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2204
2205
|
:type ColumnName: str
|
|
2205
2206
|
:param _JsonKey: 该列对应的jsonKey名
|
|
2207
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2206
2208
|
:type JsonKey: str
|
|
2207
2209
|
:param _Type: 表列项的类型
|
|
2210
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2208
2211
|
:type Type: str
|
|
2209
2212
|
:param _AllowNull: 列项是否允许为空
|
|
2213
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2210
2214
|
:type AllowNull: bool
|
|
2211
2215
|
"""
|
|
2212
2216
|
self._ColumnName = None
|
|
@@ -2270,15 +2274,20 @@ class ClsParam(AbstractModel):
|
|
|
2270
2274
|
def __init__(self):
|
|
2271
2275
|
r"""
|
|
2272
2276
|
:param _DecodeJson: 生产的信息是否为json格式
|
|
2277
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2273
2278
|
:type DecodeJson: bool
|
|
2274
2279
|
:param _Resource: cls日志主题id
|
|
2280
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2275
2281
|
:type Resource: str
|
|
2276
2282
|
:param _LogSet: cls日志集id
|
|
2283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2277
2284
|
:type LogSet: str
|
|
2278
2285
|
:param _ContentKey: 当DecodeJson为false时必填
|
|
2286
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2279
2287
|
:type ContentKey: str
|
|
2280
2288
|
:param _TimeField: 指定消息中的某字段内容作为cls日志的时间。
|
|
2281
2289
|
字段内容格式需要是秒级时间戳
|
|
2290
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2282
2291
|
:type TimeField: str
|
|
2283
2292
|
"""
|
|
2284
2293
|
self._DecodeJson = None
|
|
@@ -3090,20 +3099,28 @@ class CosParam(AbstractModel):
|
|
|
3090
3099
|
def __init__(self):
|
|
3091
3100
|
r"""
|
|
3092
3101
|
:param _BucketName: cos 存储桶名称
|
|
3102
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3093
3103
|
:type BucketName: str
|
|
3094
3104
|
:param _Region: 地域代码
|
|
3105
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3095
3106
|
:type Region: str
|
|
3096
3107
|
:param _ObjectKey: 对象名称
|
|
3108
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3097
3109
|
:type ObjectKey: str
|
|
3098
3110
|
:param _AggregateBatchSize: 汇聚消息量的大小(单位:MB)
|
|
3111
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3099
3112
|
:type AggregateBatchSize: int
|
|
3100
3113
|
:param _AggregateInterval: 汇聚的时间间隔(单位:小时)
|
|
3114
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3101
3115
|
:type AggregateInterval: int
|
|
3102
3116
|
:param _FormatOutputType: 消息汇聚后的文件格式(支持csv, json)
|
|
3117
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3103
3118
|
:type FormatOutputType: str
|
|
3104
3119
|
:param _ObjectKeyPrefix: 转储的对象目录前缀
|
|
3120
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3105
3121
|
:type ObjectKeyPrefix: str
|
|
3106
3122
|
:param _DirectoryTimeFormat: 根据strptime 时间格式化的分区格式
|
|
3123
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3107
3124
|
:type DirectoryTimeFormat: str
|
|
3108
3125
|
"""
|
|
3109
3126
|
self._BucketName = None
|
|
@@ -3703,6 +3720,8 @@ class CreateConnectResourceRequest(AbstractModel):
|
|
|
3703
3720
|
:type DorisConnectParam: :class:`tencentcloud.ckafka.v20190819.models.DorisConnectParam`
|
|
3704
3721
|
:param _KafkaConnectParam: Kafka配置,Type为 KAFKA 时必填
|
|
3705
3722
|
:type KafkaConnectParam: :class:`tencentcloud.ckafka.v20190819.models.KafkaConnectParam`
|
|
3723
|
+
:param _MqttConnectParam: MQTT配置,Type为 MQTT 时必填
|
|
3724
|
+
:type MqttConnectParam: :class:`tencentcloud.ckafka.v20190819.models.MqttConnectParam`
|
|
3706
3725
|
"""
|
|
3707
3726
|
self._ResourceName = None
|
|
3708
3727
|
self._Type = None
|
|
@@ -3717,6 +3736,7 @@ class CreateConnectResourceRequest(AbstractModel):
|
|
|
3717
3736
|
self._SQLServerConnectParam = None
|
|
3718
3737
|
self._DorisConnectParam = None
|
|
3719
3738
|
self._KafkaConnectParam = None
|
|
3739
|
+
self._MqttConnectParam = None
|
|
3720
3740
|
|
|
3721
3741
|
@property
|
|
3722
3742
|
def ResourceName(self):
|
|
@@ -3822,6 +3842,14 @@ class CreateConnectResourceRequest(AbstractModel):
|
|
|
3822
3842
|
def KafkaConnectParam(self, KafkaConnectParam):
|
|
3823
3843
|
self._KafkaConnectParam = KafkaConnectParam
|
|
3824
3844
|
|
|
3845
|
+
@property
|
|
3846
|
+
def MqttConnectParam(self):
|
|
3847
|
+
return self._MqttConnectParam
|
|
3848
|
+
|
|
3849
|
+
@MqttConnectParam.setter
|
|
3850
|
+
def MqttConnectParam(self, MqttConnectParam):
|
|
3851
|
+
self._MqttConnectParam = MqttConnectParam
|
|
3852
|
+
|
|
3825
3853
|
|
|
3826
3854
|
def _deserialize(self, params):
|
|
3827
3855
|
self._ResourceName = params.get("ResourceName")
|
|
@@ -3857,6 +3885,9 @@ class CreateConnectResourceRequest(AbstractModel):
|
|
|
3857
3885
|
if params.get("KafkaConnectParam") is not None:
|
|
3858
3886
|
self._KafkaConnectParam = KafkaConnectParam()
|
|
3859
3887
|
self._KafkaConnectParam._deserialize(params.get("KafkaConnectParam"))
|
|
3888
|
+
if params.get("MqttConnectParam") is not None:
|
|
3889
|
+
self._MqttConnectParam = MqttConnectParam()
|
|
3890
|
+
self._MqttConnectParam._deserialize(params.get("MqttConnectParam"))
|
|
3860
3891
|
memeber_set = set(params.keys())
|
|
3861
3892
|
for name, value in vars(self).items():
|
|
3862
3893
|
property_name = name[1:]
|
|
@@ -6685,8 +6716,10 @@ class CtsdbParam(AbstractModel):
|
|
|
6685
6716
|
def __init__(self):
|
|
6686
6717
|
r"""
|
|
6687
6718
|
:param _Resource: 连接管理实例资源
|
|
6719
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6688
6720
|
:type Resource: str
|
|
6689
6721
|
:param _CtsdbMetric: Ctsdb的metric
|
|
6722
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6690
6723
|
:type CtsdbMetric: str
|
|
6691
6724
|
"""
|
|
6692
6725
|
self._Resource = None
|
|
@@ -6779,6 +6812,9 @@ class DatahubResource(AbstractModel):
|
|
|
6779
6812
|
:param _ScfParam: Scf配置,Type为SCF时必填
|
|
6780
6813
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6781
6814
|
:type ScfParam: :class:`tencentcloud.ckafka.v20190819.models.ScfParam`
|
|
6815
|
+
:param _MqttParam: MQTT配置,Type为 MQTT 时必填
|
|
6816
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6817
|
+
:type MqttParam: :class:`tencentcloud.ckafka.v20190819.models.MqttParam`
|
|
6782
6818
|
"""
|
|
6783
6819
|
self._Type = None
|
|
6784
6820
|
self._KafkaParam = None
|
|
@@ -6797,6 +6833,7 @@ class DatahubResource(AbstractModel):
|
|
|
6797
6833
|
self._SQLServerParam = None
|
|
6798
6834
|
self._CtsdbParam = None
|
|
6799
6835
|
self._ScfParam = None
|
|
6836
|
+
self._MqttParam = None
|
|
6800
6837
|
|
|
6801
6838
|
@property
|
|
6802
6839
|
def Type(self):
|
|
@@ -6934,6 +6971,14 @@ class DatahubResource(AbstractModel):
|
|
|
6934
6971
|
def ScfParam(self, ScfParam):
|
|
6935
6972
|
self._ScfParam = ScfParam
|
|
6936
6973
|
|
|
6974
|
+
@property
|
|
6975
|
+
def MqttParam(self):
|
|
6976
|
+
return self._MqttParam
|
|
6977
|
+
|
|
6978
|
+
@MqttParam.setter
|
|
6979
|
+
def MqttParam(self, MqttParam):
|
|
6980
|
+
self._MqttParam = MqttParam
|
|
6981
|
+
|
|
6937
6982
|
|
|
6938
6983
|
def _deserialize(self, params):
|
|
6939
6984
|
self._Type = params.get("Type")
|
|
@@ -6985,6 +7030,9 @@ class DatahubResource(AbstractModel):
|
|
|
6985
7030
|
if params.get("ScfParam") is not None:
|
|
6986
7031
|
self._ScfParam = ScfParam()
|
|
6987
7032
|
self._ScfParam._deserialize(params.get("ScfParam"))
|
|
7033
|
+
if params.get("MqttParam") is not None:
|
|
7034
|
+
self._MqttParam = MqttParam()
|
|
7035
|
+
self._MqttParam._deserialize(params.get("MqttParam"))
|
|
6988
7036
|
memeber_set = set(params.keys())
|
|
6989
7037
|
for name, value in vars(self).items():
|
|
6990
7038
|
property_name = name[1:]
|
|
@@ -9093,6 +9141,9 @@ class DescribeConnectResource(AbstractModel):
|
|
|
9093
9141
|
:param _KafkaConnectParam: Kafka配置,Type 为 KAFKA 时返回
|
|
9094
9142
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9095
9143
|
:type KafkaConnectParam: :class:`tencentcloud.ckafka.v20190819.models.KafkaConnectParam`
|
|
9144
|
+
:param _MqttConnectParam: MQTT配置,Type 为 MQTT 时返回
|
|
9145
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9146
|
+
:type MqttConnectParam: :class:`tencentcloud.ckafka.v20190819.models.MqttConnectParam`
|
|
9096
9147
|
"""
|
|
9097
9148
|
self._ResourceId = None
|
|
9098
9149
|
self._ResourceName = None
|
|
@@ -9116,6 +9167,7 @@ class DescribeConnectResource(AbstractModel):
|
|
|
9116
9167
|
self._CtsdbConnectParam = None
|
|
9117
9168
|
self._DorisConnectParam = None
|
|
9118
9169
|
self._KafkaConnectParam = None
|
|
9170
|
+
self._MqttConnectParam = None
|
|
9119
9171
|
|
|
9120
9172
|
@property
|
|
9121
9173
|
def ResourceId(self):
|
|
@@ -9293,6 +9345,14 @@ class DescribeConnectResource(AbstractModel):
|
|
|
9293
9345
|
def KafkaConnectParam(self, KafkaConnectParam):
|
|
9294
9346
|
self._KafkaConnectParam = KafkaConnectParam
|
|
9295
9347
|
|
|
9348
|
+
@property
|
|
9349
|
+
def MqttConnectParam(self):
|
|
9350
|
+
return self._MqttConnectParam
|
|
9351
|
+
|
|
9352
|
+
@MqttConnectParam.setter
|
|
9353
|
+
def MqttConnectParam(self, MqttConnectParam):
|
|
9354
|
+
self._MqttConnectParam = MqttConnectParam
|
|
9355
|
+
|
|
9296
9356
|
|
|
9297
9357
|
def _deserialize(self, params):
|
|
9298
9358
|
self._ResourceId = params.get("ResourceId")
|
|
@@ -9339,6 +9399,9 @@ class DescribeConnectResource(AbstractModel):
|
|
|
9339
9399
|
if params.get("KafkaConnectParam") is not None:
|
|
9340
9400
|
self._KafkaConnectParam = KafkaConnectParam()
|
|
9341
9401
|
self._KafkaConnectParam._deserialize(params.get("KafkaConnectParam"))
|
|
9402
|
+
if params.get("MqttConnectParam") is not None:
|
|
9403
|
+
self._MqttConnectParam = MqttConnectParam()
|
|
9404
|
+
self._MqttConnectParam._deserialize(params.get("MqttConnectParam"))
|
|
9342
9405
|
memeber_set = set(params.keys())
|
|
9343
9406
|
for name, value in vars(self).items():
|
|
9344
9407
|
property_name = name[1:]
|
|
@@ -9449,6 +9512,9 @@ class DescribeConnectResourceResp(AbstractModel):
|
|
|
9449
9512
|
:param _KafkaConnectParam: Kafka配置,Type 为 KAFKA 时返回
|
|
9450
9513
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9451
9514
|
:type KafkaConnectParam: :class:`tencentcloud.ckafka.v20190819.models.KafkaConnectParam`
|
|
9515
|
+
:param _MqttConnectParam: MQTT配置,Type 为 MQTT 时返回
|
|
9516
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9517
|
+
:type MqttConnectParam: :class:`tencentcloud.ckafka.v20190819.models.MqttConnectParam`
|
|
9452
9518
|
"""
|
|
9453
9519
|
self._ResourceId = None
|
|
9454
9520
|
self._ResourceName = None
|
|
@@ -9470,6 +9536,7 @@ class DescribeConnectResourceResp(AbstractModel):
|
|
|
9470
9536
|
self._CtsdbConnectParam = None
|
|
9471
9537
|
self._DorisConnectParam = None
|
|
9472
9538
|
self._KafkaConnectParam = None
|
|
9539
|
+
self._MqttConnectParam = None
|
|
9473
9540
|
|
|
9474
9541
|
@property
|
|
9475
9542
|
def ResourceId(self):
|
|
@@ -9631,6 +9698,14 @@ class DescribeConnectResourceResp(AbstractModel):
|
|
|
9631
9698
|
def KafkaConnectParam(self, KafkaConnectParam):
|
|
9632
9699
|
self._KafkaConnectParam = KafkaConnectParam
|
|
9633
9700
|
|
|
9701
|
+
@property
|
|
9702
|
+
def MqttConnectParam(self):
|
|
9703
|
+
return self._MqttConnectParam
|
|
9704
|
+
|
|
9705
|
+
@MqttConnectParam.setter
|
|
9706
|
+
def MqttConnectParam(self, MqttConnectParam):
|
|
9707
|
+
self._MqttConnectParam = MqttConnectParam
|
|
9708
|
+
|
|
9634
9709
|
|
|
9635
9710
|
def _deserialize(self, params):
|
|
9636
9711
|
self._ResourceId = params.get("ResourceId")
|
|
@@ -9675,6 +9750,9 @@ class DescribeConnectResourceResp(AbstractModel):
|
|
|
9675
9750
|
if params.get("KafkaConnectParam") is not None:
|
|
9676
9751
|
self._KafkaConnectParam = KafkaConnectParam()
|
|
9677
9752
|
self._KafkaConnectParam._deserialize(params.get("KafkaConnectParam"))
|
|
9753
|
+
if params.get("MqttConnectParam") is not None:
|
|
9754
|
+
self._MqttConnectParam = MqttConnectParam()
|
|
9755
|
+
self._MqttConnectParam._deserialize(params.get("MqttConnectParam"))
|
|
9678
9756
|
memeber_set = set(params.keys())
|
|
9679
9757
|
for name, value in vars(self).items():
|
|
9680
9758
|
property_name = name[1:]
|
|
@@ -13573,20 +13651,28 @@ class DtsParam(AbstractModel):
|
|
|
13573
13651
|
def __init__(self):
|
|
13574
13652
|
r"""
|
|
13575
13653
|
:param _Resource: Dts实例Id
|
|
13654
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13576
13655
|
:type Resource: str
|
|
13577
13656
|
:param _Ip: Dts的连接ip
|
|
13657
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13578
13658
|
:type Ip: str
|
|
13579
13659
|
:param _Port: Dts的连接port
|
|
13660
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13580
13661
|
:type Port: int
|
|
13581
13662
|
:param _Topic: Dts订阅的topic
|
|
13663
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13582
13664
|
:type Topic: str
|
|
13583
13665
|
:param _GroupId: Dts消费分组的Id
|
|
13666
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13584
13667
|
:type GroupId: str
|
|
13585
13668
|
:param _GroupUser: Dts消费分组的账号
|
|
13669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13586
13670
|
:type GroupUser: str
|
|
13587
13671
|
:param _GroupPassword: Dts消费分组的密码
|
|
13672
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13588
13673
|
:type GroupPassword: str
|
|
13589
13674
|
:param _TranSql: false同步原始数据,true同步解析后的json格式数据,默认true
|
|
13675
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13590
13676
|
:type TranSql: bool
|
|
13591
13677
|
"""
|
|
13592
13678
|
self._Resource = None
|
|
@@ -14086,44 +14172,64 @@ class EsParam(AbstractModel):
|
|
|
14086
14172
|
def __init__(self):
|
|
14087
14173
|
r"""
|
|
14088
14174
|
:param _Resource: 实例资源
|
|
14175
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14089
14176
|
:type Resource: str
|
|
14090
14177
|
:param _Port: Es的连接port
|
|
14178
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14091
14179
|
:type Port: int
|
|
14092
14180
|
:param _UserName: Es用户名
|
|
14181
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14093
14182
|
:type UserName: str
|
|
14094
14183
|
:param _Password: Es密码
|
|
14184
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14095
14185
|
:type Password: str
|
|
14096
14186
|
:param _SelfBuilt: 是否为自建集群
|
|
14187
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14097
14188
|
:type SelfBuilt: bool
|
|
14098
14189
|
:param _ServiceVip: 实例vip
|
|
14190
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14099
14191
|
:type ServiceVip: str
|
|
14100
14192
|
:param _UniqVpcId: 实例的vpcId
|
|
14193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14101
14194
|
:type UniqVpcId: str
|
|
14102
14195
|
:param _DropInvalidMessage: Es是否抛弃解析失败的消息
|
|
14196
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14103
14197
|
:type DropInvalidMessage: bool
|
|
14104
14198
|
:param _Index: Es自定义index名称
|
|
14199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14105
14200
|
:type Index: str
|
|
14106
14201
|
:param _DateFormat: Es自定义日期后缀
|
|
14202
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14107
14203
|
:type DateFormat: str
|
|
14108
14204
|
:param _ContentKey: 非json格式数据的自定义key
|
|
14205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14109
14206
|
:type ContentKey: str
|
|
14110
14207
|
:param _DropInvalidJsonMessage: Es是否抛弃非json格式的消息
|
|
14208
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14111
14209
|
:type DropInvalidJsonMessage: bool
|
|
14112
14210
|
:param _DocumentIdField: 转储到Es中的文档ID取值字段名
|
|
14211
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14113
14212
|
:type DocumentIdField: str
|
|
14114
14213
|
:param _IndexType: Es自定义index名称的类型,STRING,JSONPATH,默认为STRING
|
|
14214
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14115
14215
|
:type IndexType: str
|
|
14116
14216
|
:param _DropCls: 当设置成员参数DropInvalidMessageToCls设置为true时,DropInvalidMessage参数失效
|
|
14217
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14117
14218
|
:type DropCls: :class:`tencentcloud.ckafka.v20190819.models.DropCls`
|
|
14118
14219
|
:param _DatabasePrimaryKey: 转储到ES的消息为Database的binlog时,如果需要同步数据库操作,即增删改的操作到ES时填写数据库表主键
|
|
14220
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14119
14221
|
:type DatabasePrimaryKey: str
|
|
14120
14222
|
:param _DropDlq: 死信队列
|
|
14223
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14121
14224
|
:type DropDlq: :class:`tencentcloud.ckafka.v20190819.models.FailureParam`
|
|
14122
14225
|
:param _RecordMappingList: 使用数据订阅格式导入 es 时,消息与 es 索引字段映射关系。不填默认为默认字段匹配
|
|
14226
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14123
14227
|
:type RecordMappingList: list of EsRecordMapping
|
|
14124
14228
|
:param _DateField: 消息要映射为 es 索引中 @timestamp 的字段,如果当前配置为空,则使用消息的时间戳进行映射
|
|
14229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14125
14230
|
:type DateField: str
|
|
14126
14231
|
:param _RecordMappingMode: 用来区分当前索引映射,属于新建索引还是存量索引。"EXIST_MAPPING":从存量索引中选择;"NEW_MAPPING":新建索引
|
|
14232
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14127
14233
|
:type RecordMappingMode: str
|
|
14128
14234
|
"""
|
|
14129
14235
|
self._Resource = None
|
|
@@ -14356,8 +14462,10 @@ class EsRecordMapping(AbstractModel):
|
|
|
14356
14462
|
def __init__(self):
|
|
14357
14463
|
r"""
|
|
14358
14464
|
:param _ColumnName: es 索引成员名称
|
|
14465
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14359
14466
|
:type ColumnName: str
|
|
14360
14467
|
:param _JsonKey: 消息字段名称
|
|
14468
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14361
14469
|
:type JsonKey: str
|
|
14362
14470
|
"""
|
|
14363
14471
|
self._ColumnName = None
|
|
@@ -18160,7 +18268,7 @@ class KafkaConnectParam(AbstractModel):
|
|
|
18160
18268
|
|
|
18161
18269
|
def __init__(self):
|
|
18162
18270
|
r"""
|
|
18163
|
-
:param _Resource: Kafka连接源的实例资源,
|
|
18271
|
+
:param _Resource: Kafka连接源的实例资源, 非自建时必填,NetworkType=VPC时传clb实例id
|
|
18164
18272
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18165
18273
|
:type Resource: str
|
|
18166
18274
|
:param _SelfBuilt: 是否为自建集群
|
|
@@ -18169,7 +18277,7 @@ class KafkaConnectParam(AbstractModel):
|
|
|
18169
18277
|
:param _IsUpdate: 是否更新到关联的Dip任务
|
|
18170
18278
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18171
18279
|
:type IsUpdate: bool
|
|
18172
|
-
:param _BrokerAddress: Kafka连接的broker地址,
|
|
18280
|
+
:param _BrokerAddress: Kafka连接的broker地址, NetworkType=PUBLIC公网时必填
|
|
18173
18281
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18174
18282
|
:type BrokerAddress: str
|
|
18175
18283
|
:param _Region: CKafka连接源的实例资源地域, 跨地域时必填
|
|
@@ -18791,24 +18899,34 @@ class MariaDBParam(AbstractModel):
|
|
|
18791
18899
|
def __init__(self):
|
|
18792
18900
|
r"""
|
|
18793
18901
|
:param _Database: MariaDB的数据库名称,"*"为全数据库
|
|
18902
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18794
18903
|
:type Database: str
|
|
18795
18904
|
:param _Table: MariaDB的数据表名称,"*"为所监听的所有数据库中的非系统表,可以","间隔,监听多个数据表,但数据表需要以"数据库名.数据表名"的格式进行填写
|
|
18905
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18796
18906
|
:type Table: str
|
|
18797
18907
|
:param _Resource: 该MariaDB在连接管理内的Id
|
|
18908
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18798
18909
|
:type Resource: str
|
|
18799
18910
|
:param _SnapshotMode: 复制存量信息(schema_only不复制, initial全量),默认位initial
|
|
18911
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18800
18912
|
:type SnapshotMode: str
|
|
18801
18913
|
:param _KeyColumns: 格式:库1.表1:字段1,字段2;库2.表2:字段2,表之间;(分号)隔开,字段之间,(逗号)隔开。不指定的表默认取表的主键
|
|
18914
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18802
18915
|
:type KeyColumns: str
|
|
18803
18916
|
:param _IsTablePrefix: 当Table输入的是前缀时,该项值为true,否则为false
|
|
18917
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18804
18918
|
:type IsTablePrefix: bool
|
|
18805
18919
|
:param _OutputFormat: 输出格式,DEFAULT、CANAL_1、CANAL_2
|
|
18920
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18806
18921
|
:type OutputFormat: str
|
|
18807
18922
|
:param _IncludeContentChanges: 如果该值为all,则DDL数据以及DML数据也会写入到选中的topic;若该值为dml,则只有DML数据写入到选中的topic
|
|
18923
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18808
18924
|
:type IncludeContentChanges: str
|
|
18809
18925
|
:param _IncludeQuery: 如果该值为true,且MySQL中"binlog_rows_query_log_events"配置项的值为"ON",则流入到topic的数据包含原SQL语句;若该值为false,流入到topic的数据不包含原SQL语句
|
|
18926
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18810
18927
|
:type IncludeQuery: bool
|
|
18811
18928
|
:param _RecordWithSchema: 如果该值为 true,则消息中会携带消息结构体对应的schema,如果该值为false则不会携带
|
|
18929
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18812
18930
|
:type RecordWithSchema: bool
|
|
18813
18931
|
"""
|
|
18814
18932
|
self._Database = None
|
|
@@ -19055,6 +19173,8 @@ class ModifyConnectResourceRequest(AbstractModel):
|
|
|
19055
19173
|
:type DorisConnectParam: :class:`tencentcloud.ckafka.v20190819.models.DorisModifyConnectParam`
|
|
19056
19174
|
:param _KafkaConnectParam: Kafka配置,Type为 KAFKA 时必填
|
|
19057
19175
|
:type KafkaConnectParam: :class:`tencentcloud.ckafka.v20190819.models.KafkaConnectParam`
|
|
19176
|
+
:param _MqttConnectParam: MQTT配置,Type为 MQTT 时必填
|
|
19177
|
+
:type MqttConnectParam: :class:`tencentcloud.ckafka.v20190819.models.MqttConnectParam`
|
|
19058
19178
|
"""
|
|
19059
19179
|
self._ResourceId = None
|
|
19060
19180
|
self._ResourceName = None
|
|
@@ -19071,6 +19191,7 @@ class ModifyConnectResourceRequest(AbstractModel):
|
|
|
19071
19191
|
self._CtsdbConnectParam = None
|
|
19072
19192
|
self._DorisConnectParam = None
|
|
19073
19193
|
self._KafkaConnectParam = None
|
|
19194
|
+
self._MqttConnectParam = None
|
|
19074
19195
|
|
|
19075
19196
|
@property
|
|
19076
19197
|
def ResourceId(self):
|
|
@@ -19192,6 +19313,14 @@ class ModifyConnectResourceRequest(AbstractModel):
|
|
|
19192
19313
|
def KafkaConnectParam(self, KafkaConnectParam):
|
|
19193
19314
|
self._KafkaConnectParam = KafkaConnectParam
|
|
19194
19315
|
|
|
19316
|
+
@property
|
|
19317
|
+
def MqttConnectParam(self):
|
|
19318
|
+
return self._MqttConnectParam
|
|
19319
|
+
|
|
19320
|
+
@MqttConnectParam.setter
|
|
19321
|
+
def MqttConnectParam(self, MqttConnectParam):
|
|
19322
|
+
self._MqttConnectParam = MqttConnectParam
|
|
19323
|
+
|
|
19195
19324
|
|
|
19196
19325
|
def _deserialize(self, params):
|
|
19197
19326
|
self._ResourceId = params.get("ResourceId")
|
|
@@ -19231,6 +19360,9 @@ class ModifyConnectResourceRequest(AbstractModel):
|
|
|
19231
19360
|
if params.get("KafkaConnectParam") is not None:
|
|
19232
19361
|
self._KafkaConnectParam = KafkaConnectParam()
|
|
19233
19362
|
self._KafkaConnectParam._deserialize(params.get("KafkaConnectParam"))
|
|
19363
|
+
if params.get("MqttConnectParam") is not None:
|
|
19364
|
+
self._MqttConnectParam = MqttConnectParam()
|
|
19365
|
+
self._MqttConnectParam._deserialize(params.get("MqttConnectParam"))
|
|
19234
19366
|
memeber_set = set(params.keys())
|
|
19235
19367
|
for name, value in vars(self).items():
|
|
19236
19368
|
property_name = name[1:]
|
|
@@ -20620,28 +20752,40 @@ class MongoDBParam(AbstractModel):
|
|
|
20620
20752
|
def __init__(self):
|
|
20621
20753
|
r"""
|
|
20622
20754
|
:param _Database: MongoDB的数据库名称
|
|
20755
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20623
20756
|
:type Database: str
|
|
20624
20757
|
:param _Collection: MongoDB的集群
|
|
20758
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20625
20759
|
:type Collection: str
|
|
20626
20760
|
:param _CopyExisting: 是否复制存量数据,默认传参true
|
|
20761
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20627
20762
|
:type CopyExisting: bool
|
|
20628
20763
|
:param _Resource: 实例资源
|
|
20764
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20629
20765
|
:type Resource: str
|
|
20630
20766
|
:param _Ip: MongoDB的连接ip
|
|
20767
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20631
20768
|
:type Ip: str
|
|
20632
20769
|
:param _Port: MongoDB的连接port
|
|
20770
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20633
20771
|
:type Port: int
|
|
20634
20772
|
:param _UserName: MongoDB数据库用户名
|
|
20773
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20635
20774
|
:type UserName: str
|
|
20636
20775
|
:param _Password: MongoDB数据库密码
|
|
20776
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20637
20777
|
:type Password: str
|
|
20638
20778
|
:param _ListeningEvent: 监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔
|
|
20779
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20639
20780
|
:type ListeningEvent: str
|
|
20640
20781
|
:param _ReadPreference: 主从优先级,默认主节点
|
|
20782
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20641
20783
|
:type ReadPreference: str
|
|
20642
20784
|
:param _Pipeline: 聚合管道
|
|
20785
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20643
20786
|
:type Pipeline: str
|
|
20644
20787
|
:param _SelfBuilt: 是否为自建集群
|
|
20788
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20645
20789
|
:type SelfBuilt: bool
|
|
20646
20790
|
"""
|
|
20647
20791
|
self._Database = None
|
|
@@ -20777,6 +20921,295 @@ class MongoDBParam(AbstractModel):
|
|
|
20777
20921
|
|
|
20778
20922
|
|
|
20779
20923
|
|
|
20924
|
+
class MqttConnectParam(AbstractModel):
|
|
20925
|
+
"""MQTT连接源参数
|
|
20926
|
+
|
|
20927
|
+
"""
|
|
20928
|
+
|
|
20929
|
+
def __init__(self):
|
|
20930
|
+
r"""
|
|
20931
|
+
:param _UserName: MQTT连接源的用户名
|
|
20932
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20933
|
+
:type UserName: str
|
|
20934
|
+
:param _Password: MQTT连接源的密码
|
|
20935
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20936
|
+
:type Password: str
|
|
20937
|
+
:param _Resource: MQTT连接源的实例资源
|
|
20938
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20939
|
+
:type Resource: str
|
|
20940
|
+
:param _UniqVpcId: MQTT Instance vpc-id
|
|
20941
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20942
|
+
:type UniqVpcId: str
|
|
20943
|
+
:param _SelfBuilt: 是否为自建集群
|
|
20944
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20945
|
+
:type SelfBuilt: bool
|
|
20946
|
+
:param _IsUpdate: 是否更新到关联的Dip任务
|
|
20947
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20948
|
+
:type IsUpdate: bool
|
|
20949
|
+
:param _Region: MQTT连接源的实例资源地域, 跨地域时必填
|
|
20950
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
20951
|
+
:type Region: str
|
|
20952
|
+
"""
|
|
20953
|
+
self._UserName = None
|
|
20954
|
+
self._Password = None
|
|
20955
|
+
self._Resource = None
|
|
20956
|
+
self._UniqVpcId = None
|
|
20957
|
+
self._SelfBuilt = None
|
|
20958
|
+
self._IsUpdate = None
|
|
20959
|
+
self._Region = None
|
|
20960
|
+
|
|
20961
|
+
@property
|
|
20962
|
+
def UserName(self):
|
|
20963
|
+
return self._UserName
|
|
20964
|
+
|
|
20965
|
+
@UserName.setter
|
|
20966
|
+
def UserName(self, UserName):
|
|
20967
|
+
self._UserName = UserName
|
|
20968
|
+
|
|
20969
|
+
@property
|
|
20970
|
+
def Password(self):
|
|
20971
|
+
return self._Password
|
|
20972
|
+
|
|
20973
|
+
@Password.setter
|
|
20974
|
+
def Password(self, Password):
|
|
20975
|
+
self._Password = Password
|
|
20976
|
+
|
|
20977
|
+
@property
|
|
20978
|
+
def Resource(self):
|
|
20979
|
+
return self._Resource
|
|
20980
|
+
|
|
20981
|
+
@Resource.setter
|
|
20982
|
+
def Resource(self, Resource):
|
|
20983
|
+
self._Resource = Resource
|
|
20984
|
+
|
|
20985
|
+
@property
|
|
20986
|
+
def UniqVpcId(self):
|
|
20987
|
+
return self._UniqVpcId
|
|
20988
|
+
|
|
20989
|
+
@UniqVpcId.setter
|
|
20990
|
+
def UniqVpcId(self, UniqVpcId):
|
|
20991
|
+
self._UniqVpcId = UniqVpcId
|
|
20992
|
+
|
|
20993
|
+
@property
|
|
20994
|
+
def SelfBuilt(self):
|
|
20995
|
+
return self._SelfBuilt
|
|
20996
|
+
|
|
20997
|
+
@SelfBuilt.setter
|
|
20998
|
+
def SelfBuilt(self, SelfBuilt):
|
|
20999
|
+
self._SelfBuilt = SelfBuilt
|
|
21000
|
+
|
|
21001
|
+
@property
|
|
21002
|
+
def IsUpdate(self):
|
|
21003
|
+
return self._IsUpdate
|
|
21004
|
+
|
|
21005
|
+
@IsUpdate.setter
|
|
21006
|
+
def IsUpdate(self, IsUpdate):
|
|
21007
|
+
self._IsUpdate = IsUpdate
|
|
21008
|
+
|
|
21009
|
+
@property
|
|
21010
|
+
def Region(self):
|
|
21011
|
+
return self._Region
|
|
21012
|
+
|
|
21013
|
+
@Region.setter
|
|
21014
|
+
def Region(self, Region):
|
|
21015
|
+
self._Region = Region
|
|
21016
|
+
|
|
21017
|
+
|
|
21018
|
+
def _deserialize(self, params):
|
|
21019
|
+
self._UserName = params.get("UserName")
|
|
21020
|
+
self._Password = params.get("Password")
|
|
21021
|
+
self._Resource = params.get("Resource")
|
|
21022
|
+
self._UniqVpcId = params.get("UniqVpcId")
|
|
21023
|
+
self._SelfBuilt = params.get("SelfBuilt")
|
|
21024
|
+
self._IsUpdate = params.get("IsUpdate")
|
|
21025
|
+
self._Region = params.get("Region")
|
|
21026
|
+
memeber_set = set(params.keys())
|
|
21027
|
+
for name, value in vars(self).items():
|
|
21028
|
+
property_name = name[1:]
|
|
21029
|
+
if property_name in memeber_set:
|
|
21030
|
+
memeber_set.remove(property_name)
|
|
21031
|
+
if len(memeber_set) > 0:
|
|
21032
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
21033
|
+
|
|
21034
|
+
|
|
21035
|
+
|
|
21036
|
+
class MqttParam(AbstractModel):
|
|
21037
|
+
"""创建MQTT 为Source的Data Hub Task参数
|
|
21038
|
+
|
|
21039
|
+
"""
|
|
21040
|
+
|
|
21041
|
+
def __init__(self):
|
|
21042
|
+
r"""
|
|
21043
|
+
:param _Topics: 需要同步的MQTT Topic列表, CSV格式
|
|
21044
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21045
|
+
:type Topics: str
|
|
21046
|
+
:param _CleanSession: MQTT clean-session
|
|
21047
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21048
|
+
:type CleanSession: bool
|
|
21049
|
+
:param _Resource: MQTT instance-id
|
|
21050
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21051
|
+
:type Resource: str
|
|
21052
|
+
:param _Ip: MQTT实例VIP
|
|
21053
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21054
|
+
:type Ip: str
|
|
21055
|
+
:param _Port: MQTT VIP 端口
|
|
21056
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21057
|
+
:type Port: int
|
|
21058
|
+
:param _UserName: MQTT实例用户名
|
|
21059
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21060
|
+
:type UserName: str
|
|
21061
|
+
:param _Password: MQTT实例内账户密码
|
|
21062
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21063
|
+
:type Password: str
|
|
21064
|
+
:param _Qos: QoS
|
|
21065
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21066
|
+
:type Qos: int
|
|
21067
|
+
:param _MaxTasks: tasks.max 订阅Topic的并发Task个数, 默认为1; 当设置大于1时, 使用Shared Subscription
|
|
21068
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21069
|
+
:type MaxTasks: int
|
|
21070
|
+
:param _ServiceVip: MQTT 实例的Service VIP
|
|
21071
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21072
|
+
:type ServiceVip: str
|
|
21073
|
+
:param _UniqVpcId: MQTT实例的VPC ID
|
|
21074
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21075
|
+
:type UniqVpcId: str
|
|
21076
|
+
:param _SelfBuilt: 是否为自建集群, MQTT只支持非自建集群
|
|
21077
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21078
|
+
:type SelfBuilt: bool
|
|
21079
|
+
"""
|
|
21080
|
+
self._Topics = None
|
|
21081
|
+
self._CleanSession = None
|
|
21082
|
+
self._Resource = None
|
|
21083
|
+
self._Ip = None
|
|
21084
|
+
self._Port = None
|
|
21085
|
+
self._UserName = None
|
|
21086
|
+
self._Password = None
|
|
21087
|
+
self._Qos = None
|
|
21088
|
+
self._MaxTasks = None
|
|
21089
|
+
self._ServiceVip = None
|
|
21090
|
+
self._UniqVpcId = None
|
|
21091
|
+
self._SelfBuilt = None
|
|
21092
|
+
|
|
21093
|
+
@property
|
|
21094
|
+
def Topics(self):
|
|
21095
|
+
return self._Topics
|
|
21096
|
+
|
|
21097
|
+
@Topics.setter
|
|
21098
|
+
def Topics(self, Topics):
|
|
21099
|
+
self._Topics = Topics
|
|
21100
|
+
|
|
21101
|
+
@property
|
|
21102
|
+
def CleanSession(self):
|
|
21103
|
+
return self._CleanSession
|
|
21104
|
+
|
|
21105
|
+
@CleanSession.setter
|
|
21106
|
+
def CleanSession(self, CleanSession):
|
|
21107
|
+
self._CleanSession = CleanSession
|
|
21108
|
+
|
|
21109
|
+
@property
|
|
21110
|
+
def Resource(self):
|
|
21111
|
+
return self._Resource
|
|
21112
|
+
|
|
21113
|
+
@Resource.setter
|
|
21114
|
+
def Resource(self, Resource):
|
|
21115
|
+
self._Resource = Resource
|
|
21116
|
+
|
|
21117
|
+
@property
|
|
21118
|
+
def Ip(self):
|
|
21119
|
+
return self._Ip
|
|
21120
|
+
|
|
21121
|
+
@Ip.setter
|
|
21122
|
+
def Ip(self, Ip):
|
|
21123
|
+
self._Ip = Ip
|
|
21124
|
+
|
|
21125
|
+
@property
|
|
21126
|
+
def Port(self):
|
|
21127
|
+
return self._Port
|
|
21128
|
+
|
|
21129
|
+
@Port.setter
|
|
21130
|
+
def Port(self, Port):
|
|
21131
|
+
self._Port = Port
|
|
21132
|
+
|
|
21133
|
+
@property
|
|
21134
|
+
def UserName(self):
|
|
21135
|
+
return self._UserName
|
|
21136
|
+
|
|
21137
|
+
@UserName.setter
|
|
21138
|
+
def UserName(self, UserName):
|
|
21139
|
+
self._UserName = UserName
|
|
21140
|
+
|
|
21141
|
+
@property
|
|
21142
|
+
def Password(self):
|
|
21143
|
+
return self._Password
|
|
21144
|
+
|
|
21145
|
+
@Password.setter
|
|
21146
|
+
def Password(self, Password):
|
|
21147
|
+
self._Password = Password
|
|
21148
|
+
|
|
21149
|
+
@property
|
|
21150
|
+
def Qos(self):
|
|
21151
|
+
return self._Qos
|
|
21152
|
+
|
|
21153
|
+
@Qos.setter
|
|
21154
|
+
def Qos(self, Qos):
|
|
21155
|
+
self._Qos = Qos
|
|
21156
|
+
|
|
21157
|
+
@property
|
|
21158
|
+
def MaxTasks(self):
|
|
21159
|
+
return self._MaxTasks
|
|
21160
|
+
|
|
21161
|
+
@MaxTasks.setter
|
|
21162
|
+
def MaxTasks(self, MaxTasks):
|
|
21163
|
+
self._MaxTasks = MaxTasks
|
|
21164
|
+
|
|
21165
|
+
@property
|
|
21166
|
+
def ServiceVip(self):
|
|
21167
|
+
return self._ServiceVip
|
|
21168
|
+
|
|
21169
|
+
@ServiceVip.setter
|
|
21170
|
+
def ServiceVip(self, ServiceVip):
|
|
21171
|
+
self._ServiceVip = ServiceVip
|
|
21172
|
+
|
|
21173
|
+
@property
|
|
21174
|
+
def UniqVpcId(self):
|
|
21175
|
+
return self._UniqVpcId
|
|
21176
|
+
|
|
21177
|
+
@UniqVpcId.setter
|
|
21178
|
+
def UniqVpcId(self, UniqVpcId):
|
|
21179
|
+
self._UniqVpcId = UniqVpcId
|
|
21180
|
+
|
|
21181
|
+
@property
|
|
21182
|
+
def SelfBuilt(self):
|
|
21183
|
+
return self._SelfBuilt
|
|
21184
|
+
|
|
21185
|
+
@SelfBuilt.setter
|
|
21186
|
+
def SelfBuilt(self, SelfBuilt):
|
|
21187
|
+
self._SelfBuilt = SelfBuilt
|
|
21188
|
+
|
|
21189
|
+
|
|
21190
|
+
def _deserialize(self, params):
|
|
21191
|
+
self._Topics = params.get("Topics")
|
|
21192
|
+
self._CleanSession = params.get("CleanSession")
|
|
21193
|
+
self._Resource = params.get("Resource")
|
|
21194
|
+
self._Ip = params.get("Ip")
|
|
21195
|
+
self._Port = params.get("Port")
|
|
21196
|
+
self._UserName = params.get("UserName")
|
|
21197
|
+
self._Password = params.get("Password")
|
|
21198
|
+
self._Qos = params.get("Qos")
|
|
21199
|
+
self._MaxTasks = params.get("MaxTasks")
|
|
21200
|
+
self._ServiceVip = params.get("ServiceVip")
|
|
21201
|
+
self._UniqVpcId = params.get("UniqVpcId")
|
|
21202
|
+
self._SelfBuilt = params.get("SelfBuilt")
|
|
21203
|
+
memeber_set = set(params.keys())
|
|
21204
|
+
for name, value in vars(self).items():
|
|
21205
|
+
property_name = name[1:]
|
|
21206
|
+
if property_name in memeber_set:
|
|
21207
|
+
memeber_set.remove(property_name)
|
|
21208
|
+
if len(memeber_set) > 0:
|
|
21209
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
21210
|
+
|
|
21211
|
+
|
|
21212
|
+
|
|
20780
21213
|
class MySQLConnectParam(AbstractModel):
|
|
20781
21214
|
"""MySQL连接源参数
|
|
20782
21215
|
|
|
@@ -21903,30 +22336,43 @@ class PostgreSQLParam(AbstractModel):
|
|
|
21903
22336
|
def __init__(self):
|
|
21904
22337
|
r"""
|
|
21905
22338
|
:param _Database: PostgreSQL的数据库名称
|
|
22339
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21906
22340
|
:type Database: str
|
|
21907
22341
|
:param _Table: PostgreSQL的数据表名称,"*"为所监听的所有数据库中的非系统表,可以","间隔,监听多个数据表,但数据表需要以"Schema名.数据表名"的格式进行填写,需要填入正则表达式时,格式为"Schema名\\.数据表名"
|
|
22342
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21908
22343
|
:type Table: str
|
|
21909
22344
|
:param _Resource: 该PostgreSQL在连接管理内的Id
|
|
22345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21910
22346
|
:type Resource: str
|
|
21911
22347
|
:param _PluginName: 插件名(decoderbufs/pgoutput),默认为decoderbufs
|
|
22348
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21912
22349
|
:type PluginName: str
|
|
21913
22350
|
:param _SnapshotMode: 复制存量信息(never增量, initial全量),默认为initial
|
|
22351
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21914
22352
|
:type SnapshotMode: str
|
|
21915
22353
|
:param _DataFormat: 上游数据格式(JSON/Debezium), 当数据库同步模式为默认字段匹配时,必填
|
|
22354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21916
22355
|
:type DataFormat: str
|
|
21917
22356
|
:param _DataTargetInsertMode: "INSERT" 表示使用 Insert 模式插入,"UPSERT" 表示使用 Upsert 模式插入
|
|
22357
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21918
22358
|
:type DataTargetInsertMode: str
|
|
21919
22359
|
:param _DataTargetPrimaryKeyField: 当 "DataInsertMode"="UPSERT" 时,传入当前 upsert 时依赖的主键
|
|
22360
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21920
22361
|
:type DataTargetPrimaryKeyField: str
|
|
21921
22362
|
:param _DataTargetRecordMapping: 表与消息间的映射关系
|
|
22363
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21922
22364
|
:type DataTargetRecordMapping: list of RecordMapping
|
|
21923
22365
|
:param _DropInvalidMessage: 是否抛弃解析失败的消息,默认为true
|
|
22366
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21924
22367
|
:type DropInvalidMessage: bool
|
|
21925
22368
|
:param _IsTableRegular: 输入的table是否为正则表达式
|
|
22369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21926
22370
|
:type IsTableRegular: bool
|
|
21927
22371
|
:param _KeyColumns: 格式:库1.表1:字段1,字段2;库2.表2:字段2,表之间;(分号)隔开,字段之间,(逗号)隔开。不指定的表默认取表的主键
|
|
22372
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21928
22373
|
:type KeyColumns: str
|
|
21929
22374
|
:param _RecordWithSchema: 如果该值为 true,则消息中会携带消息结构体对应的schema,如果该值为false则不会携带
|
|
22375
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21930
22376
|
:type RecordWithSchema: bool
|
|
21931
22377
|
"""
|
|
21932
22378
|
self._Database = None
|
|
@@ -22180,10 +22626,14 @@ class PrometheusDTO(AbstractModel):
|
|
|
22180
22626
|
:type SourceIp: str
|
|
22181
22627
|
:param _SourcePort: vport
|
|
22182
22628
|
:type SourcePort: int
|
|
22629
|
+
:param _BrokerIp: broker地址
|
|
22630
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22631
|
+
:type BrokerIp: str
|
|
22183
22632
|
"""
|
|
22184
22633
|
self._Type = None
|
|
22185
22634
|
self._SourceIp = None
|
|
22186
22635
|
self._SourcePort = None
|
|
22636
|
+
self._BrokerIp = None
|
|
22187
22637
|
|
|
22188
22638
|
@property
|
|
22189
22639
|
def Type(self):
|
|
@@ -22209,11 +22659,20 @@ class PrometheusDTO(AbstractModel):
|
|
|
22209
22659
|
def SourcePort(self, SourcePort):
|
|
22210
22660
|
self._SourcePort = SourcePort
|
|
22211
22661
|
|
|
22662
|
+
@property
|
|
22663
|
+
def BrokerIp(self):
|
|
22664
|
+
return self._BrokerIp
|
|
22665
|
+
|
|
22666
|
+
@BrokerIp.setter
|
|
22667
|
+
def BrokerIp(self, BrokerIp):
|
|
22668
|
+
self._BrokerIp = BrokerIp
|
|
22669
|
+
|
|
22212
22670
|
|
|
22213
22671
|
def _deserialize(self, params):
|
|
22214
22672
|
self._Type = params.get("Type")
|
|
22215
22673
|
self._SourceIp = params.get("SourceIp")
|
|
22216
22674
|
self._SourcePort = params.get("SourcePort")
|
|
22675
|
+
self._BrokerIp = params.get("BrokerIp")
|
|
22217
22676
|
memeber_set = set(params.keys())
|
|
22218
22677
|
for name, value in vars(self).items():
|
|
22219
22678
|
property_name = name[1:]
|
|
@@ -23405,12 +23864,16 @@ class SQLServerParam(AbstractModel):
|
|
|
23405
23864
|
def __init__(self):
|
|
23406
23865
|
r"""
|
|
23407
23866
|
:param _Database: SQLServer的数据库名称
|
|
23867
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23408
23868
|
:type Database: str
|
|
23409
23869
|
:param _Table: SQLServer的数据表名称,"*"为所监听的所有数据库中的非系统表,可以","间隔,监听多个数据表,但数据表需要以"数据库名.数据表名"的格式进行填写
|
|
23870
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23410
23871
|
:type Table: str
|
|
23411
23872
|
:param _Resource: 该SQLServer在连接管理内的Id
|
|
23873
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23412
23874
|
:type Resource: str
|
|
23413
23875
|
:param _SnapshotMode: 复制存量信息(schema_only增量, initial全量),默认为initial
|
|
23876
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23414
23877
|
:type SnapshotMode: str
|
|
23415
23878
|
"""
|
|
23416
23879
|
self._Database = None
|
|
@@ -23581,14 +24044,19 @@ class ScfParam(AbstractModel):
|
|
|
23581
24044
|
def __init__(self):
|
|
23582
24045
|
r"""
|
|
23583
24046
|
:param _FunctionName: SCF云函数函数名
|
|
24047
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23584
24048
|
:type FunctionName: str
|
|
23585
24049
|
:param _Namespace: SCF云函数命名空间, 默认为default
|
|
24050
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23586
24051
|
:type Namespace: str
|
|
23587
24052
|
:param _Qualifier: SCF云函数版本及别名, 默认为$DEFAULT
|
|
24053
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23588
24054
|
:type Qualifier: str
|
|
23589
24055
|
:param _BatchSize: 每批最大发送消息数, 默认为1000
|
|
24056
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23590
24057
|
:type BatchSize: int
|
|
23591
24058
|
:param _MaxRetries: SCF调用失败后重试次数, 默认为5
|
|
24059
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23592
24060
|
:type MaxRetries: int
|
|
23593
24061
|
"""
|
|
23594
24062
|
self._FunctionName = None
|
|
@@ -24100,14 +24568,19 @@ class TdwParam(AbstractModel):
|
|
|
24100
24568
|
def __init__(self):
|
|
24101
24569
|
r"""
|
|
24102
24570
|
:param _Bid: Tdw的bid
|
|
24571
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
24103
24572
|
:type Bid: str
|
|
24104
24573
|
:param _Tid: Tdw的tid
|
|
24574
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
24105
24575
|
:type Tid: str
|
|
24106
24576
|
:param _IsDomestic: 默认true
|
|
24577
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
24107
24578
|
:type IsDomestic: bool
|
|
24108
24579
|
:param _TdwHost: TDW地址,默认tl-tdbank-tdmanager.tencent-distribute.com
|
|
24580
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
24109
24581
|
:type TdwHost: str
|
|
24110
24582
|
:param _TdwPort: TDW端口,默认8099
|
|
24583
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
24111
24584
|
:type TdwPort: int
|
|
24112
24585
|
"""
|
|
24113
24586
|
self._Bid = None
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1154
|
tencentcloud-sdk-python-ckafka-3.0.1144/tencentcloud_sdk_python_ckafka.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1144
|
{tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-ckafka-3.0.1144 → tencentcloud-sdk-python-ckafka-3.0.1154}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|