tencentcloud-sdk-python 3.0.1145__py2.py3-none-any.whl → 3.0.1147__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.
@@ -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
@@ -6685,8 +6702,10 @@ class CtsdbParam(AbstractModel):
6685
6702
  def __init__(self):
6686
6703
  r"""
6687
6704
  :param _Resource: 连接管理实例资源
6705
+ 注意:此字段可能返回 null,表示取不到有效值。
6688
6706
  :type Resource: str
6689
6707
  :param _CtsdbMetric: Ctsdb的metric
6708
+ 注意:此字段可能返回 null,表示取不到有效值。
6690
6709
  :type CtsdbMetric: str
6691
6710
  """
6692
6711
  self._Resource = None
@@ -6779,6 +6798,9 @@ class DatahubResource(AbstractModel):
6779
6798
  :param _ScfParam: Scf配置,Type为SCF时必填
6780
6799
  注意:此字段可能返回 null,表示取不到有效值。
6781
6800
  :type ScfParam: :class:`tencentcloud.ckafka.v20190819.models.ScfParam`
6801
+ :param _MqttParam: MQTT配置,Type为 MQTT 时必填
6802
+ 注意:此字段可能返回 null,表示取不到有效值。
6803
+ :type MqttParam: :class:`tencentcloud.ckafka.v20190819.models.MqttParam`
6782
6804
  """
6783
6805
  self._Type = None
6784
6806
  self._KafkaParam = None
@@ -6797,6 +6819,7 @@ class DatahubResource(AbstractModel):
6797
6819
  self._SQLServerParam = None
6798
6820
  self._CtsdbParam = None
6799
6821
  self._ScfParam = None
6822
+ self._MqttParam = None
6800
6823
 
6801
6824
  @property
6802
6825
  def Type(self):
@@ -6934,6 +6957,14 @@ class DatahubResource(AbstractModel):
6934
6957
  def ScfParam(self, ScfParam):
6935
6958
  self._ScfParam = ScfParam
6936
6959
 
6960
+ @property
6961
+ def MqttParam(self):
6962
+ return self._MqttParam
6963
+
6964
+ @MqttParam.setter
6965
+ def MqttParam(self, MqttParam):
6966
+ self._MqttParam = MqttParam
6967
+
6937
6968
 
6938
6969
  def _deserialize(self, params):
6939
6970
  self._Type = params.get("Type")
@@ -6985,6 +7016,9 @@ class DatahubResource(AbstractModel):
6985
7016
  if params.get("ScfParam") is not None:
6986
7017
  self._ScfParam = ScfParam()
6987
7018
  self._ScfParam._deserialize(params.get("ScfParam"))
7019
+ if params.get("MqttParam") is not None:
7020
+ self._MqttParam = MqttParam()
7021
+ self._MqttParam._deserialize(params.get("MqttParam"))
6988
7022
  memeber_set = set(params.keys())
6989
7023
  for name, value in vars(self).items():
6990
7024
  property_name = name[1:]
@@ -9093,6 +9127,9 @@ class DescribeConnectResource(AbstractModel):
9093
9127
  :param _KafkaConnectParam: Kafka配置,Type 为 KAFKA 时返回
9094
9128
  注意:此字段可能返回 null,表示取不到有效值。
9095
9129
  :type KafkaConnectParam: :class:`tencentcloud.ckafka.v20190819.models.KafkaConnectParam`
9130
+ :param _MqttConnectParam: MQTT配置,Type 为 MQTT 时返回
9131
+ 注意:此字段可能返回 null,表示取不到有效值。
9132
+ :type MqttConnectParam: :class:`tencentcloud.ckafka.v20190819.models.MqttConnectParam`
9096
9133
  """
9097
9134
  self._ResourceId = None
9098
9135
  self._ResourceName = None
@@ -9116,6 +9153,7 @@ class DescribeConnectResource(AbstractModel):
9116
9153
  self._CtsdbConnectParam = None
9117
9154
  self._DorisConnectParam = None
9118
9155
  self._KafkaConnectParam = None
9156
+ self._MqttConnectParam = None
9119
9157
 
9120
9158
  @property
9121
9159
  def ResourceId(self):
@@ -9293,6 +9331,14 @@ class DescribeConnectResource(AbstractModel):
9293
9331
  def KafkaConnectParam(self, KafkaConnectParam):
9294
9332
  self._KafkaConnectParam = KafkaConnectParam
9295
9333
 
9334
+ @property
9335
+ def MqttConnectParam(self):
9336
+ return self._MqttConnectParam
9337
+
9338
+ @MqttConnectParam.setter
9339
+ def MqttConnectParam(self, MqttConnectParam):
9340
+ self._MqttConnectParam = MqttConnectParam
9341
+
9296
9342
 
9297
9343
  def _deserialize(self, params):
9298
9344
  self._ResourceId = params.get("ResourceId")
@@ -9339,6 +9385,9 @@ class DescribeConnectResource(AbstractModel):
9339
9385
  if params.get("KafkaConnectParam") is not None:
9340
9386
  self._KafkaConnectParam = KafkaConnectParam()
9341
9387
  self._KafkaConnectParam._deserialize(params.get("KafkaConnectParam"))
9388
+ if params.get("MqttConnectParam") is not None:
9389
+ self._MqttConnectParam = MqttConnectParam()
9390
+ self._MqttConnectParam._deserialize(params.get("MqttConnectParam"))
9342
9391
  memeber_set = set(params.keys())
9343
9392
  for name, value in vars(self).items():
9344
9393
  property_name = name[1:]
@@ -9449,6 +9498,9 @@ class DescribeConnectResourceResp(AbstractModel):
9449
9498
  :param _KafkaConnectParam: Kafka配置,Type 为 KAFKA 时返回
9450
9499
  注意:此字段可能返回 null,表示取不到有效值。
9451
9500
  :type KafkaConnectParam: :class:`tencentcloud.ckafka.v20190819.models.KafkaConnectParam`
9501
+ :param _MqttConnectParam: MQTT配置,Type 为 MQTT 时返回
9502
+ 注意:此字段可能返回 null,表示取不到有效值。
9503
+ :type MqttConnectParam: :class:`tencentcloud.ckafka.v20190819.models.MqttConnectParam`
9452
9504
  """
9453
9505
  self._ResourceId = None
9454
9506
  self._ResourceName = None
@@ -9470,6 +9522,7 @@ class DescribeConnectResourceResp(AbstractModel):
9470
9522
  self._CtsdbConnectParam = None
9471
9523
  self._DorisConnectParam = None
9472
9524
  self._KafkaConnectParam = None
9525
+ self._MqttConnectParam = None
9473
9526
 
9474
9527
  @property
9475
9528
  def ResourceId(self):
@@ -9631,6 +9684,14 @@ class DescribeConnectResourceResp(AbstractModel):
9631
9684
  def KafkaConnectParam(self, KafkaConnectParam):
9632
9685
  self._KafkaConnectParam = KafkaConnectParam
9633
9686
 
9687
+ @property
9688
+ def MqttConnectParam(self):
9689
+ return self._MqttConnectParam
9690
+
9691
+ @MqttConnectParam.setter
9692
+ def MqttConnectParam(self, MqttConnectParam):
9693
+ self._MqttConnectParam = MqttConnectParam
9694
+
9634
9695
 
9635
9696
  def _deserialize(self, params):
9636
9697
  self._ResourceId = params.get("ResourceId")
@@ -9675,6 +9736,9 @@ class DescribeConnectResourceResp(AbstractModel):
9675
9736
  if params.get("KafkaConnectParam") is not None:
9676
9737
  self._KafkaConnectParam = KafkaConnectParam()
9677
9738
  self._KafkaConnectParam._deserialize(params.get("KafkaConnectParam"))
9739
+ if params.get("MqttConnectParam") is not None:
9740
+ self._MqttConnectParam = MqttConnectParam()
9741
+ self._MqttConnectParam._deserialize(params.get("MqttConnectParam"))
9678
9742
  memeber_set = set(params.keys())
9679
9743
  for name, value in vars(self).items():
9680
9744
  property_name = name[1:]
@@ -13573,20 +13637,28 @@ class DtsParam(AbstractModel):
13573
13637
  def __init__(self):
13574
13638
  r"""
13575
13639
  :param _Resource: Dts实例Id
13640
+ 注意:此字段可能返回 null,表示取不到有效值。
13576
13641
  :type Resource: str
13577
13642
  :param _Ip: Dts的连接ip
13643
+ 注意:此字段可能返回 null,表示取不到有效值。
13578
13644
  :type Ip: str
13579
13645
  :param _Port: Dts的连接port
13646
+ 注意:此字段可能返回 null,表示取不到有效值。
13580
13647
  :type Port: int
13581
13648
  :param _Topic: Dts订阅的topic
13649
+ 注意:此字段可能返回 null,表示取不到有效值。
13582
13650
  :type Topic: str
13583
13651
  :param _GroupId: Dts消费分组的Id
13652
+ 注意:此字段可能返回 null,表示取不到有效值。
13584
13653
  :type GroupId: str
13585
13654
  :param _GroupUser: Dts消费分组的账号
13655
+ 注意:此字段可能返回 null,表示取不到有效值。
13586
13656
  :type GroupUser: str
13587
13657
  :param _GroupPassword: Dts消费分组的密码
13658
+ 注意:此字段可能返回 null,表示取不到有效值。
13588
13659
  :type GroupPassword: str
13589
13660
  :param _TranSql: false同步原始数据,true同步解析后的json格式数据,默认true
13661
+ 注意:此字段可能返回 null,表示取不到有效值。
13590
13662
  :type TranSql: bool
13591
13663
  """
13592
13664
  self._Resource = None
@@ -14086,44 +14158,64 @@ class EsParam(AbstractModel):
14086
14158
  def __init__(self):
14087
14159
  r"""
14088
14160
  :param _Resource: 实例资源
14161
+ 注意:此字段可能返回 null,表示取不到有效值。
14089
14162
  :type Resource: str
14090
14163
  :param _Port: Es的连接port
14164
+ 注意:此字段可能返回 null,表示取不到有效值。
14091
14165
  :type Port: int
14092
14166
  :param _UserName: Es用户名
14167
+ 注意:此字段可能返回 null,表示取不到有效值。
14093
14168
  :type UserName: str
14094
14169
  :param _Password: Es密码
14170
+ 注意:此字段可能返回 null,表示取不到有效值。
14095
14171
  :type Password: str
14096
14172
  :param _SelfBuilt: 是否为自建集群
14173
+ 注意:此字段可能返回 null,表示取不到有效值。
14097
14174
  :type SelfBuilt: bool
14098
14175
  :param _ServiceVip: 实例vip
14176
+ 注意:此字段可能返回 null,表示取不到有效值。
14099
14177
  :type ServiceVip: str
14100
14178
  :param _UniqVpcId: 实例的vpcId
14179
+ 注意:此字段可能返回 null,表示取不到有效值。
14101
14180
  :type UniqVpcId: str
14102
14181
  :param _DropInvalidMessage: Es是否抛弃解析失败的消息
14182
+ 注意:此字段可能返回 null,表示取不到有效值。
14103
14183
  :type DropInvalidMessage: bool
14104
14184
  :param _Index: Es自定义index名称
14185
+ 注意:此字段可能返回 null,表示取不到有效值。
14105
14186
  :type Index: str
14106
14187
  :param _DateFormat: Es自定义日期后缀
14188
+ 注意:此字段可能返回 null,表示取不到有效值。
14107
14189
  :type DateFormat: str
14108
14190
  :param _ContentKey: 非json格式数据的自定义key
14191
+ 注意:此字段可能返回 null,表示取不到有效值。
14109
14192
  :type ContentKey: str
14110
14193
  :param _DropInvalidJsonMessage: Es是否抛弃非json格式的消息
14194
+ 注意:此字段可能返回 null,表示取不到有效值。
14111
14195
  :type DropInvalidJsonMessage: bool
14112
14196
  :param _DocumentIdField: 转储到Es中的文档ID取值字段名
14197
+ 注意:此字段可能返回 null,表示取不到有效值。
14113
14198
  :type DocumentIdField: str
14114
14199
  :param _IndexType: Es自定义index名称的类型,STRING,JSONPATH,默认为STRING
14200
+ 注意:此字段可能返回 null,表示取不到有效值。
14115
14201
  :type IndexType: str
14116
14202
  :param _DropCls: 当设置成员参数DropInvalidMessageToCls设置为true时,DropInvalidMessage参数失效
14203
+ 注意:此字段可能返回 null,表示取不到有效值。
14117
14204
  :type DropCls: :class:`tencentcloud.ckafka.v20190819.models.DropCls`
14118
14205
  :param _DatabasePrimaryKey: 转储到ES的消息为Database的binlog时,如果需要同步数据库操作,即增删改的操作到ES时填写数据库表主键
14206
+ 注意:此字段可能返回 null,表示取不到有效值。
14119
14207
  :type DatabasePrimaryKey: str
14120
14208
  :param _DropDlq: 死信队列
14209
+ 注意:此字段可能返回 null,表示取不到有效值。
14121
14210
  :type DropDlq: :class:`tencentcloud.ckafka.v20190819.models.FailureParam`
14122
14211
  :param _RecordMappingList: 使用数据订阅格式导入 es 时,消息与 es 索引字段映射关系。不填默认为默认字段匹配
14212
+ 注意:此字段可能返回 null,表示取不到有效值。
14123
14213
  :type RecordMappingList: list of EsRecordMapping
14124
14214
  :param _DateField: 消息要映射为 es 索引中 @timestamp 的字段,如果当前配置为空,则使用消息的时间戳进行映射
14215
+ 注意:此字段可能返回 null,表示取不到有效值。
14125
14216
  :type DateField: str
14126
14217
  :param _RecordMappingMode: 用来区分当前索引映射,属于新建索引还是存量索引。"EXIST_MAPPING":从存量索引中选择;"NEW_MAPPING":新建索引
14218
+ 注意:此字段可能返回 null,表示取不到有效值。
14127
14219
  :type RecordMappingMode: str
14128
14220
  """
14129
14221
  self._Resource = None
@@ -14356,8 +14448,10 @@ class EsRecordMapping(AbstractModel):
14356
14448
  def __init__(self):
14357
14449
  r"""
14358
14450
  :param _ColumnName: es 索引成员名称
14451
+ 注意:此字段可能返回 null,表示取不到有效值。
14359
14452
  :type ColumnName: str
14360
14453
  :param _JsonKey: 消息字段名称
14454
+ 注意:此字段可能返回 null,表示取不到有效值。
14361
14455
  :type JsonKey: str
14362
14456
  """
14363
14457
  self._ColumnName = None
@@ -18160,7 +18254,7 @@ class KafkaConnectParam(AbstractModel):
18160
18254
 
18161
18255
  def __init__(self):
18162
18256
  r"""
18163
- :param _Resource: Kafka连接源的实例资源, 非自建时必填
18257
+ :param _Resource: Kafka连接源的实例资源, 非自建时必填,NetworkType=VPC时传clb实例id
18164
18258
  注意:此字段可能返回 null,表示取不到有效值。
18165
18259
  :type Resource: str
18166
18260
  :param _SelfBuilt: 是否为自建集群
@@ -18169,7 +18263,7 @@ class KafkaConnectParam(AbstractModel):
18169
18263
  :param _IsUpdate: 是否更新到关联的Dip任务
18170
18264
  注意:此字段可能返回 null,表示取不到有效值。
18171
18265
  :type IsUpdate: bool
18172
- :param _BrokerAddress: Kafka连接的broker地址, 自建时必填
18266
+ :param _BrokerAddress: Kafka连接的broker地址, NetworkType=PUBLIC公网时必填
18173
18267
  注意:此字段可能返回 null,表示取不到有效值。
18174
18268
  :type BrokerAddress: str
18175
18269
  :param _Region: CKafka连接源的实例资源地域, 跨地域时必填
@@ -18791,24 +18885,34 @@ class MariaDBParam(AbstractModel):
18791
18885
  def __init__(self):
18792
18886
  r"""
18793
18887
  :param _Database: MariaDB的数据库名称,"*"为全数据库
18888
+ 注意:此字段可能返回 null,表示取不到有效值。
18794
18889
  :type Database: str
18795
18890
  :param _Table: MariaDB的数据表名称,"*"为所监听的所有数据库中的非系统表,可以","间隔,监听多个数据表,但数据表需要以"数据库名.数据表名"的格式进行填写
18891
+ 注意:此字段可能返回 null,表示取不到有效值。
18796
18892
  :type Table: str
18797
18893
  :param _Resource: 该MariaDB在连接管理内的Id
18894
+ 注意:此字段可能返回 null,表示取不到有效值。
18798
18895
  :type Resource: str
18799
18896
  :param _SnapshotMode: 复制存量信息(schema_only不复制, initial全量),默认位initial
18897
+ 注意:此字段可能返回 null,表示取不到有效值。
18800
18898
  :type SnapshotMode: str
18801
18899
  :param _KeyColumns: 格式:库1.表1:字段1,字段2;库2.表2:字段2,表之间;(分号)隔开,字段之间,(逗号)隔开。不指定的表默认取表的主键
18900
+ 注意:此字段可能返回 null,表示取不到有效值。
18802
18901
  :type KeyColumns: str
18803
18902
  :param _IsTablePrefix: 当Table输入的是前缀时,该项值为true,否则为false
18903
+ 注意:此字段可能返回 null,表示取不到有效值。
18804
18904
  :type IsTablePrefix: bool
18805
18905
  :param _OutputFormat: 输出格式,DEFAULT、CANAL_1、CANAL_2
18906
+ 注意:此字段可能返回 null,表示取不到有效值。
18806
18907
  :type OutputFormat: str
18807
18908
  :param _IncludeContentChanges: 如果该值为all,则DDL数据以及DML数据也会写入到选中的topic;若该值为dml,则只有DML数据写入到选中的topic
18909
+ 注意:此字段可能返回 null,表示取不到有效值。
18808
18910
  :type IncludeContentChanges: str
18809
18911
  :param _IncludeQuery: 如果该值为true,且MySQL中"binlog_rows_query_log_events"配置项的值为"ON",则流入到topic的数据包含原SQL语句;若该值为false,流入到topic的数据不包含原SQL语句
18912
+ 注意:此字段可能返回 null,表示取不到有效值。
18810
18913
  :type IncludeQuery: bool
18811
18914
  :param _RecordWithSchema: 如果该值为 true,则消息中会携带消息结构体对应的schema,如果该值为false则不会携带
18915
+ 注意:此字段可能返回 null,表示取不到有效值。
18812
18916
  :type RecordWithSchema: bool
18813
18917
  """
18814
18918
  self._Database = None
@@ -20620,28 +20724,40 @@ class MongoDBParam(AbstractModel):
20620
20724
  def __init__(self):
20621
20725
  r"""
20622
20726
  :param _Database: MongoDB的数据库名称
20727
+ 注意:此字段可能返回 null,表示取不到有效值。
20623
20728
  :type Database: str
20624
20729
  :param _Collection: MongoDB的集群
20730
+ 注意:此字段可能返回 null,表示取不到有效值。
20625
20731
  :type Collection: str
20626
20732
  :param _CopyExisting: 是否复制存量数据,默认传参true
20733
+ 注意:此字段可能返回 null,表示取不到有效值。
20627
20734
  :type CopyExisting: bool
20628
20735
  :param _Resource: 实例资源
20736
+ 注意:此字段可能返回 null,表示取不到有效值。
20629
20737
  :type Resource: str
20630
20738
  :param _Ip: MongoDB的连接ip
20739
+ 注意:此字段可能返回 null,表示取不到有效值。
20631
20740
  :type Ip: str
20632
20741
  :param _Port: MongoDB的连接port
20742
+ 注意:此字段可能返回 null,表示取不到有效值。
20633
20743
  :type Port: int
20634
20744
  :param _UserName: MongoDB数据库用户名
20745
+ 注意:此字段可能返回 null,表示取不到有效值。
20635
20746
  :type UserName: str
20636
20747
  :param _Password: MongoDB数据库密码
20748
+ 注意:此字段可能返回 null,表示取不到有效值。
20637
20749
  :type Password: str
20638
20750
  :param _ListeningEvent: 监听事件类型,为空时表示全选。取值包括insert,update,replace,delete,invalidate,drop,dropdatabase,rename,多个类型间使用,逗号分隔
20751
+ 注意:此字段可能返回 null,表示取不到有效值。
20639
20752
  :type ListeningEvent: str
20640
20753
  :param _ReadPreference: 主从优先级,默认主节点
20754
+ 注意:此字段可能返回 null,表示取不到有效值。
20641
20755
  :type ReadPreference: str
20642
20756
  :param _Pipeline: 聚合管道
20757
+ 注意:此字段可能返回 null,表示取不到有效值。
20643
20758
  :type Pipeline: str
20644
20759
  :param _SelfBuilt: 是否为自建集群
20760
+ 注意:此字段可能返回 null,表示取不到有效值。
20645
20761
  :type SelfBuilt: bool
20646
20762
  """
20647
20763
  self._Database = None
@@ -20777,6 +20893,295 @@ class MongoDBParam(AbstractModel):
20777
20893
 
20778
20894
 
20779
20895
 
20896
+ class MqttConnectParam(AbstractModel):
20897
+ """MQTT连接源参数
20898
+
20899
+ """
20900
+
20901
+ def __init__(self):
20902
+ r"""
20903
+ :param _UserName: MQTT连接源的用户名
20904
+ 注意:此字段可能返回 null,表示取不到有效值。
20905
+ :type UserName: str
20906
+ :param _Password: MQTT连接源的密码
20907
+ 注意:此字段可能返回 null,表示取不到有效值。
20908
+ :type Password: str
20909
+ :param _Resource: MQTT连接源的实例资源
20910
+ 注意:此字段可能返回 null,表示取不到有效值。
20911
+ :type Resource: str
20912
+ :param _UniqVpcId: MQTT Instance vpc-id
20913
+ 注意:此字段可能返回 null,表示取不到有效值。
20914
+ :type UniqVpcId: str
20915
+ :param _SelfBuilt: 是否为自建集群
20916
+ 注意:此字段可能返回 null,表示取不到有效值。
20917
+ :type SelfBuilt: bool
20918
+ :param _IsUpdate: 是否更新到关联的Dip任务
20919
+ 注意:此字段可能返回 null,表示取不到有效值。
20920
+ :type IsUpdate: bool
20921
+ :param _Region: MQTT连接源的实例资源地域, 跨地域时必填
20922
+ 注意:此字段可能返回 null,表示取不到有效值。
20923
+ :type Region: str
20924
+ """
20925
+ self._UserName = None
20926
+ self._Password = None
20927
+ self._Resource = None
20928
+ self._UniqVpcId = None
20929
+ self._SelfBuilt = None
20930
+ self._IsUpdate = None
20931
+ self._Region = None
20932
+
20933
+ @property
20934
+ def UserName(self):
20935
+ return self._UserName
20936
+
20937
+ @UserName.setter
20938
+ def UserName(self, UserName):
20939
+ self._UserName = UserName
20940
+
20941
+ @property
20942
+ def Password(self):
20943
+ return self._Password
20944
+
20945
+ @Password.setter
20946
+ def Password(self, Password):
20947
+ self._Password = Password
20948
+
20949
+ @property
20950
+ def Resource(self):
20951
+ return self._Resource
20952
+
20953
+ @Resource.setter
20954
+ def Resource(self, Resource):
20955
+ self._Resource = Resource
20956
+
20957
+ @property
20958
+ def UniqVpcId(self):
20959
+ return self._UniqVpcId
20960
+
20961
+ @UniqVpcId.setter
20962
+ def UniqVpcId(self, UniqVpcId):
20963
+ self._UniqVpcId = UniqVpcId
20964
+
20965
+ @property
20966
+ def SelfBuilt(self):
20967
+ return self._SelfBuilt
20968
+
20969
+ @SelfBuilt.setter
20970
+ def SelfBuilt(self, SelfBuilt):
20971
+ self._SelfBuilt = SelfBuilt
20972
+
20973
+ @property
20974
+ def IsUpdate(self):
20975
+ return self._IsUpdate
20976
+
20977
+ @IsUpdate.setter
20978
+ def IsUpdate(self, IsUpdate):
20979
+ self._IsUpdate = IsUpdate
20980
+
20981
+ @property
20982
+ def Region(self):
20983
+ return self._Region
20984
+
20985
+ @Region.setter
20986
+ def Region(self, Region):
20987
+ self._Region = Region
20988
+
20989
+
20990
+ def _deserialize(self, params):
20991
+ self._UserName = params.get("UserName")
20992
+ self._Password = params.get("Password")
20993
+ self._Resource = params.get("Resource")
20994
+ self._UniqVpcId = params.get("UniqVpcId")
20995
+ self._SelfBuilt = params.get("SelfBuilt")
20996
+ self._IsUpdate = params.get("IsUpdate")
20997
+ self._Region = params.get("Region")
20998
+ memeber_set = set(params.keys())
20999
+ for name, value in vars(self).items():
21000
+ property_name = name[1:]
21001
+ if property_name in memeber_set:
21002
+ memeber_set.remove(property_name)
21003
+ if len(memeber_set) > 0:
21004
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21005
+
21006
+
21007
+
21008
+ class MqttParam(AbstractModel):
21009
+ """创建MQTT 为Source的Data Hub Task参数
21010
+
21011
+ """
21012
+
21013
+ def __init__(self):
21014
+ r"""
21015
+ :param _Topics: 需要同步的MQTT Topic列表, CSV格式
21016
+ 注意:此字段可能返回 null,表示取不到有效值。
21017
+ :type Topics: str
21018
+ :param _CleanSession: MQTT clean-session
21019
+ 注意:此字段可能返回 null,表示取不到有效值。
21020
+ :type CleanSession: bool
21021
+ :param _Resource: MQTT instance-id
21022
+ 注意:此字段可能返回 null,表示取不到有效值。
21023
+ :type Resource: str
21024
+ :param _Ip: MQTT实例VIP
21025
+ 注意:此字段可能返回 null,表示取不到有效值。
21026
+ :type Ip: str
21027
+ :param _Port: MQTT VIP 端口
21028
+ 注意:此字段可能返回 null,表示取不到有效值。
21029
+ :type Port: int
21030
+ :param _UserName: MQTT实例用户名
21031
+ 注意:此字段可能返回 null,表示取不到有效值。
21032
+ :type UserName: str
21033
+ :param _Password: MQTT实例内账户密码
21034
+ 注意:此字段可能返回 null,表示取不到有效值。
21035
+ :type Password: str
21036
+ :param _Qos: QoS
21037
+ 注意:此字段可能返回 null,表示取不到有效值。
21038
+ :type Qos: int
21039
+ :param _MaxTasks: tasks.max 订阅Topic的并发Task个数, 默认为1; 当设置大于1时, 使用Shared Subscription
21040
+ 注意:此字段可能返回 null,表示取不到有效值。
21041
+ :type MaxTasks: int
21042
+ :param _ServiceVip: MQTT 实例的Service VIP
21043
+ 注意:此字段可能返回 null,表示取不到有效值。
21044
+ :type ServiceVip: str
21045
+ :param _UniqVpcId: MQTT实例的VPC ID
21046
+ 注意:此字段可能返回 null,表示取不到有效值。
21047
+ :type UniqVpcId: str
21048
+ :param _SelfBuilt: 是否为自建集群, MQTT只支持非自建集群
21049
+ 注意:此字段可能返回 null,表示取不到有效值。
21050
+ :type SelfBuilt: bool
21051
+ """
21052
+ self._Topics = None
21053
+ self._CleanSession = None
21054
+ self._Resource = None
21055
+ self._Ip = None
21056
+ self._Port = None
21057
+ self._UserName = None
21058
+ self._Password = None
21059
+ self._Qos = None
21060
+ self._MaxTasks = None
21061
+ self._ServiceVip = None
21062
+ self._UniqVpcId = None
21063
+ self._SelfBuilt = None
21064
+
21065
+ @property
21066
+ def Topics(self):
21067
+ return self._Topics
21068
+
21069
+ @Topics.setter
21070
+ def Topics(self, Topics):
21071
+ self._Topics = Topics
21072
+
21073
+ @property
21074
+ def CleanSession(self):
21075
+ return self._CleanSession
21076
+
21077
+ @CleanSession.setter
21078
+ def CleanSession(self, CleanSession):
21079
+ self._CleanSession = CleanSession
21080
+
21081
+ @property
21082
+ def Resource(self):
21083
+ return self._Resource
21084
+
21085
+ @Resource.setter
21086
+ def Resource(self, Resource):
21087
+ self._Resource = Resource
21088
+
21089
+ @property
21090
+ def Ip(self):
21091
+ return self._Ip
21092
+
21093
+ @Ip.setter
21094
+ def Ip(self, Ip):
21095
+ self._Ip = Ip
21096
+
21097
+ @property
21098
+ def Port(self):
21099
+ return self._Port
21100
+
21101
+ @Port.setter
21102
+ def Port(self, Port):
21103
+ self._Port = Port
21104
+
21105
+ @property
21106
+ def UserName(self):
21107
+ return self._UserName
21108
+
21109
+ @UserName.setter
21110
+ def UserName(self, UserName):
21111
+ self._UserName = UserName
21112
+
21113
+ @property
21114
+ def Password(self):
21115
+ return self._Password
21116
+
21117
+ @Password.setter
21118
+ def Password(self, Password):
21119
+ self._Password = Password
21120
+
21121
+ @property
21122
+ def Qos(self):
21123
+ return self._Qos
21124
+
21125
+ @Qos.setter
21126
+ def Qos(self, Qos):
21127
+ self._Qos = Qos
21128
+
21129
+ @property
21130
+ def MaxTasks(self):
21131
+ return self._MaxTasks
21132
+
21133
+ @MaxTasks.setter
21134
+ def MaxTasks(self, MaxTasks):
21135
+ self._MaxTasks = MaxTasks
21136
+
21137
+ @property
21138
+ def ServiceVip(self):
21139
+ return self._ServiceVip
21140
+
21141
+ @ServiceVip.setter
21142
+ def ServiceVip(self, ServiceVip):
21143
+ self._ServiceVip = ServiceVip
21144
+
21145
+ @property
21146
+ def UniqVpcId(self):
21147
+ return self._UniqVpcId
21148
+
21149
+ @UniqVpcId.setter
21150
+ def UniqVpcId(self, UniqVpcId):
21151
+ self._UniqVpcId = UniqVpcId
21152
+
21153
+ @property
21154
+ def SelfBuilt(self):
21155
+ return self._SelfBuilt
21156
+
21157
+ @SelfBuilt.setter
21158
+ def SelfBuilt(self, SelfBuilt):
21159
+ self._SelfBuilt = SelfBuilt
21160
+
21161
+
21162
+ def _deserialize(self, params):
21163
+ self._Topics = params.get("Topics")
21164
+ self._CleanSession = params.get("CleanSession")
21165
+ self._Resource = params.get("Resource")
21166
+ self._Ip = params.get("Ip")
21167
+ self._Port = params.get("Port")
21168
+ self._UserName = params.get("UserName")
21169
+ self._Password = params.get("Password")
21170
+ self._Qos = params.get("Qos")
21171
+ self._MaxTasks = params.get("MaxTasks")
21172
+ self._ServiceVip = params.get("ServiceVip")
21173
+ self._UniqVpcId = params.get("UniqVpcId")
21174
+ self._SelfBuilt = params.get("SelfBuilt")
21175
+ memeber_set = set(params.keys())
21176
+ for name, value in vars(self).items():
21177
+ property_name = name[1:]
21178
+ if property_name in memeber_set:
21179
+ memeber_set.remove(property_name)
21180
+ if len(memeber_set) > 0:
21181
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21182
+
21183
+
21184
+
20780
21185
  class MySQLConnectParam(AbstractModel):
20781
21186
  """MySQL连接源参数
20782
21187
 
@@ -21903,30 +22308,43 @@ class PostgreSQLParam(AbstractModel):
21903
22308
  def __init__(self):
21904
22309
  r"""
21905
22310
  :param _Database: PostgreSQL的数据库名称
22311
+ 注意:此字段可能返回 null,表示取不到有效值。
21906
22312
  :type Database: str
21907
22313
  :param _Table: PostgreSQL的数据表名称,"*"为所监听的所有数据库中的非系统表,可以","间隔,监听多个数据表,但数据表需要以"Schema名.数据表名"的格式进行填写,需要填入正则表达式时,格式为"Schema名\\.数据表名"
22314
+ 注意:此字段可能返回 null,表示取不到有效值。
21908
22315
  :type Table: str
21909
22316
  :param _Resource: 该PostgreSQL在连接管理内的Id
22317
+ 注意:此字段可能返回 null,表示取不到有效值。
21910
22318
  :type Resource: str
21911
22319
  :param _PluginName: 插件名(decoderbufs/pgoutput),默认为decoderbufs
22320
+ 注意:此字段可能返回 null,表示取不到有效值。
21912
22321
  :type PluginName: str
21913
22322
  :param _SnapshotMode: 复制存量信息(never增量, initial全量),默认为initial
22323
+ 注意:此字段可能返回 null,表示取不到有效值。
21914
22324
  :type SnapshotMode: str
21915
22325
  :param _DataFormat: 上游数据格式(JSON/Debezium), 当数据库同步模式为默认字段匹配时,必填
22326
+ 注意:此字段可能返回 null,表示取不到有效值。
21916
22327
  :type DataFormat: str
21917
22328
  :param _DataTargetInsertMode: "INSERT" 表示使用 Insert 模式插入,"UPSERT" 表示使用 Upsert 模式插入
22329
+ 注意:此字段可能返回 null,表示取不到有效值。
21918
22330
  :type DataTargetInsertMode: str
21919
22331
  :param _DataTargetPrimaryKeyField: 当 "DataInsertMode"="UPSERT" 时,传入当前 upsert 时依赖的主键
22332
+ 注意:此字段可能返回 null,表示取不到有效值。
21920
22333
  :type DataTargetPrimaryKeyField: str
21921
22334
  :param _DataTargetRecordMapping: 表与消息间的映射关系
22335
+ 注意:此字段可能返回 null,表示取不到有效值。
21922
22336
  :type DataTargetRecordMapping: list of RecordMapping
21923
22337
  :param _DropInvalidMessage: 是否抛弃解析失败的消息,默认为true
22338
+ 注意:此字段可能返回 null,表示取不到有效值。
21924
22339
  :type DropInvalidMessage: bool
21925
22340
  :param _IsTableRegular: 输入的table是否为正则表达式
22341
+ 注意:此字段可能返回 null,表示取不到有效值。
21926
22342
  :type IsTableRegular: bool
21927
22343
  :param _KeyColumns: 格式:库1.表1:字段1,字段2;库2.表2:字段2,表之间;(分号)隔开,字段之间,(逗号)隔开。不指定的表默认取表的主键
22344
+ 注意:此字段可能返回 null,表示取不到有效值。
21928
22345
  :type KeyColumns: str
21929
22346
  :param _RecordWithSchema: 如果该值为 true,则消息中会携带消息结构体对应的schema,如果该值为false则不会携带
22347
+ 注意:此字段可能返回 null,表示取不到有效值。
21930
22348
  :type RecordWithSchema: bool
21931
22349
  """
21932
22350
  self._Database = None
@@ -23405,12 +23823,16 @@ class SQLServerParam(AbstractModel):
23405
23823
  def __init__(self):
23406
23824
  r"""
23407
23825
  :param _Database: SQLServer的数据库名称
23826
+ 注意:此字段可能返回 null,表示取不到有效值。
23408
23827
  :type Database: str
23409
23828
  :param _Table: SQLServer的数据表名称,"*"为所监听的所有数据库中的非系统表,可以","间隔,监听多个数据表,但数据表需要以"数据库名.数据表名"的格式进行填写
23829
+ 注意:此字段可能返回 null,表示取不到有效值。
23410
23830
  :type Table: str
23411
23831
  :param _Resource: 该SQLServer在连接管理内的Id
23832
+ 注意:此字段可能返回 null,表示取不到有效值。
23412
23833
  :type Resource: str
23413
23834
  :param _SnapshotMode: 复制存量信息(schema_only增量, initial全量),默认为initial
23835
+ 注意:此字段可能返回 null,表示取不到有效值。
23414
23836
  :type SnapshotMode: str
23415
23837
  """
23416
23838
  self._Database = None
@@ -23581,14 +24003,19 @@ class ScfParam(AbstractModel):
23581
24003
  def __init__(self):
23582
24004
  r"""
23583
24005
  :param _FunctionName: SCF云函数函数名
24006
+ 注意:此字段可能返回 null,表示取不到有效值。
23584
24007
  :type FunctionName: str
23585
24008
  :param _Namespace: SCF云函数命名空间, 默认为default
24009
+ 注意:此字段可能返回 null,表示取不到有效值。
23586
24010
  :type Namespace: str
23587
24011
  :param _Qualifier: SCF云函数版本及别名, 默认为$DEFAULT
24012
+ 注意:此字段可能返回 null,表示取不到有效值。
23588
24013
  :type Qualifier: str
23589
24014
  :param _BatchSize: 每批最大发送消息数, 默认为1000
24015
+ 注意:此字段可能返回 null,表示取不到有效值。
23590
24016
  :type BatchSize: int
23591
24017
  :param _MaxRetries: SCF调用失败后重试次数, 默认为5
24018
+ 注意:此字段可能返回 null,表示取不到有效值。
23592
24019
  :type MaxRetries: int
23593
24020
  """
23594
24021
  self._FunctionName = None
@@ -24100,14 +24527,19 @@ class TdwParam(AbstractModel):
24100
24527
  def __init__(self):
24101
24528
  r"""
24102
24529
  :param _Bid: Tdw的bid
24530
+ 注意:此字段可能返回 null,表示取不到有效值。
24103
24531
  :type Bid: str
24104
24532
  :param _Tid: Tdw的tid
24533
+ 注意:此字段可能返回 null,表示取不到有效值。
24105
24534
  :type Tid: str
24106
24535
  :param _IsDomestic: 默认true
24536
+ 注意:此字段可能返回 null,表示取不到有效值。
24107
24537
  :type IsDomestic: bool
24108
24538
  :param _TdwHost: TDW地址,默认tl-tdbank-tdmanager.tencent-distribute.com
24539
+ 注意:此字段可能返回 null,表示取不到有效值。
24109
24540
  :type TdwHost: str
24110
24541
  :param _TdwPort: TDW端口,默认8099
24542
+ 注意:此字段可能返回 null,表示取不到有效值。
24111
24543
  :type TdwPort: int
24112
24544
  """
24113
24545
  self._Bid = None