tencentcloud-sdk-ckafka 1.0.362 → 1.0.363
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190819/client.rb +288 -0
- data/lib/v20190819/models.rb +1643 -141
- metadata +2 -2
data/lib/v20190819/models.rb
CHANGED
@@ -738,6 +738,58 @@ module TencentCloud
|
|
738
738
|
end
|
739
739
|
end
|
740
740
|
|
741
|
+
# ClickHouse修改连接源参数
|
742
|
+
class ClickHouseModifyConnectParam < TencentCloud::Common::AbstractModel
|
743
|
+
# @param Resource: ClickHouse连接源的实例资源【不支持修改】
|
744
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
745
|
+
# @type Resource: String
|
746
|
+
# @param Port: ClickHouse的连接port【不支持修改】
|
747
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
748
|
+
# @type Port: Integer
|
749
|
+
# @param ServiceVip: ClickHouse连接源的实例vip【不支持修改】
|
750
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
751
|
+
# @type ServiceVip: String
|
752
|
+
# @param UniqVpcId: ClickHouse连接源的vpcId【不支持修改】
|
753
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
754
|
+
# @type UniqVpcId: String
|
755
|
+
# @param UserName: ClickHouse连接源的用户名
|
756
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
757
|
+
# @type UserName: String
|
758
|
+
# @param Password: ClickHouse连接源的密码
|
759
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
760
|
+
# @type Password: String
|
761
|
+
# @param SelfBuilt: ClickHouse连接源是否为自建集群【不支持修改】
|
762
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
763
|
+
# @type SelfBuilt: Boolean
|
764
|
+
# @param IsUpdate: 是否更新到关联的Datahub任务,默认为true
|
765
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
766
|
+
# @type IsUpdate: Boolean
|
767
|
+
|
768
|
+
attr_accessor :Resource, :Port, :ServiceVip, :UniqVpcId, :UserName, :Password, :SelfBuilt, :IsUpdate
|
769
|
+
|
770
|
+
def initialize(resource=nil, port=nil, servicevip=nil, uniqvpcid=nil, username=nil, password=nil, selfbuilt=nil, isupdate=nil)
|
771
|
+
@Resource = resource
|
772
|
+
@Port = port
|
773
|
+
@ServiceVip = servicevip
|
774
|
+
@UniqVpcId = uniqvpcid
|
775
|
+
@UserName = username
|
776
|
+
@Password = password
|
777
|
+
@SelfBuilt = selfbuilt
|
778
|
+
@IsUpdate = isupdate
|
779
|
+
end
|
780
|
+
|
781
|
+
def deserialize(params)
|
782
|
+
@Resource = params['Resource']
|
783
|
+
@Port = params['Port']
|
784
|
+
@ServiceVip = params['ServiceVip']
|
785
|
+
@UniqVpcId = params['UniqVpcId']
|
786
|
+
@UserName = params['UserName']
|
787
|
+
@Password = params['Password']
|
788
|
+
@SelfBuilt = params['SelfBuilt']
|
789
|
+
@IsUpdate = params['IsUpdate']
|
790
|
+
end
|
791
|
+
end
|
792
|
+
|
741
793
|
# ClickHouse类型入参
|
742
794
|
class ClickHouseParam < TencentCloud::Common::AbstractModel
|
743
795
|
# @param Cluster: ClickHouse的集群
|
@@ -999,6 +1051,30 @@ module TencentCloud
|
|
999
1051
|
end
|
1000
1052
|
end
|
1001
1053
|
|
1054
|
+
# Connection信息
|
1055
|
+
class Connection < TencentCloud::Common::AbstractModel
|
1056
|
+
# @param TopicName: Topic名称
|
1057
|
+
# @type TopicName: String
|
1058
|
+
# @param GroupId: 消费组ID
|
1059
|
+
# @type GroupId: String
|
1060
|
+
# @param TopicId: Topic的Id
|
1061
|
+
# @type TopicId: String
|
1062
|
+
|
1063
|
+
attr_accessor :TopicName, :GroupId, :TopicId
|
1064
|
+
|
1065
|
+
def initialize(topicname=nil, groupid=nil, topicid=nil)
|
1066
|
+
@TopicName = topicname
|
1067
|
+
@GroupId = groupid
|
1068
|
+
@TopicId = topicid
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
def deserialize(params)
|
1072
|
+
@TopicName = params['TopicName']
|
1073
|
+
@GroupId = params['GroupId']
|
1074
|
+
@TopicId = params['TopicId']
|
1075
|
+
end
|
1076
|
+
end
|
1077
|
+
|
1002
1078
|
# 用户组实体
|
1003
1079
|
class ConsumerGroup < TencentCloud::Common::AbstractModel
|
1004
1080
|
# @param ConsumerGroupName: 用户组名称
|
@@ -2292,6 +2368,97 @@ module TencentCloud
|
|
2292
2368
|
end
|
2293
2369
|
end
|
2294
2370
|
|
2371
|
+
# Datahub请求的taskid
|
2372
|
+
class DatahubTaskIdRes < TencentCloud::Common::AbstractModel
|
2373
|
+
# @param TaskId: 任务id
|
2374
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2375
|
+
# @type TaskId: String
|
2376
|
+
|
2377
|
+
attr_accessor :TaskId
|
2378
|
+
|
2379
|
+
def initialize(taskid=nil)
|
2380
|
+
@TaskId = taskid
|
2381
|
+
end
|
2382
|
+
|
2383
|
+
def deserialize(params)
|
2384
|
+
@TaskId = params['TaskId']
|
2385
|
+
end
|
2386
|
+
end
|
2387
|
+
|
2388
|
+
# Datahub任务信息
|
2389
|
+
class DatahubTaskInfo < TencentCloud::Common::AbstractModel
|
2390
|
+
# @param TaskId: 任务ID
|
2391
|
+
# @type TaskId: String
|
2392
|
+
# @param TaskName: 任务名称
|
2393
|
+
# @type TaskName: String
|
2394
|
+
# @param TaskType: 任务类型,SOURCE数据接入,SINK数据流出
|
2395
|
+
# @type TaskType: String
|
2396
|
+
# @param Status: 状态,-1创建失败,0创建中,1运行中,2删除中,3已删除,4删除失败,5暂停中,6已暂停,7暂停失败,8恢复中,9恢复失败
|
2397
|
+
# @type Status: Integer
|
2398
|
+
# @param SourceResource: 数据源
|
2399
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2400
|
+
# @type SourceResource: :class:`Tencentcloud::Ckafka.v20190819.models.DatahubResource`
|
2401
|
+
# @param TargetResource: 数据目标
|
2402
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2403
|
+
# @type TargetResource: :class:`Tencentcloud::Ckafka.v20190819.models.DatahubResource`
|
2404
|
+
# @param CreateTime: 任务创建时间
|
2405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2406
|
+
# @type CreateTime: String
|
2407
|
+
# @param ErrorMessage: 异常信息
|
2408
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2409
|
+
# @type ErrorMessage: String
|
2410
|
+
# @param TaskProgress: 创建进度百分比
|
2411
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2412
|
+
# @type TaskProgress: Float
|
2413
|
+
# @param TaskCurrentStep: 任务当前处于的步骤
|
2414
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2415
|
+
# @type TaskCurrentStep: String
|
2416
|
+
# @param DatahubId: Datahub转储Id
|
2417
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2418
|
+
# @type DatahubId: String
|
2419
|
+
# @param StepList: 步骤列表
|
2420
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2421
|
+
# @type StepList: Array
|
2422
|
+
|
2423
|
+
attr_accessor :TaskId, :TaskName, :TaskType, :Status, :SourceResource, :TargetResource, :CreateTime, :ErrorMessage, :TaskProgress, :TaskCurrentStep, :DatahubId, :StepList
|
2424
|
+
|
2425
|
+
def initialize(taskid=nil, taskname=nil, tasktype=nil, status=nil, sourceresource=nil, targetresource=nil, createtime=nil, errormessage=nil, taskprogress=nil, taskcurrentstep=nil, datahubid=nil, steplist=nil)
|
2426
|
+
@TaskId = taskid
|
2427
|
+
@TaskName = taskname
|
2428
|
+
@TaskType = tasktype
|
2429
|
+
@Status = status
|
2430
|
+
@SourceResource = sourceresource
|
2431
|
+
@TargetResource = targetresource
|
2432
|
+
@CreateTime = createtime
|
2433
|
+
@ErrorMessage = errormessage
|
2434
|
+
@TaskProgress = taskprogress
|
2435
|
+
@TaskCurrentStep = taskcurrentstep
|
2436
|
+
@DatahubId = datahubid
|
2437
|
+
@StepList = steplist
|
2438
|
+
end
|
2439
|
+
|
2440
|
+
def deserialize(params)
|
2441
|
+
@TaskId = params['TaskId']
|
2442
|
+
@TaskName = params['TaskName']
|
2443
|
+
@TaskType = params['TaskType']
|
2444
|
+
@Status = params['Status']
|
2445
|
+
unless params['SourceResource'].nil?
|
2446
|
+
@SourceResource = DatahubResource.new
|
2447
|
+
@SourceResource.deserialize(params['SourceResource'])
|
2448
|
+
end
|
2449
|
+
unless params['TargetResource'].nil?
|
2450
|
+
@TargetResource = DatahubResource.new
|
2451
|
+
@TargetResource.deserialize(params['TargetResource'])
|
2452
|
+
end
|
2453
|
+
@CreateTime = params['CreateTime']
|
2454
|
+
@ErrorMessage = params['ErrorMessage']
|
2455
|
+
@TaskProgress = params['TaskProgress']
|
2456
|
+
@TaskCurrentStep = params['TaskCurrentStep']
|
2457
|
+
@DatahubId = params['DatahubId']
|
2458
|
+
@StepList = params['StepList']
|
2459
|
+
end
|
2460
|
+
end
|
2461
|
+
|
2295
2462
|
# 数据处理——Value处理参数——转换时间格式参数
|
2296
2463
|
class DateParam < TencentCloud::Common::AbstractModel
|
2297
2464
|
# @param Format: 时间格式
|
@@ -2421,6 +2588,124 @@ module TencentCloud
|
|
2421
2588
|
end
|
2422
2589
|
end
|
2423
2590
|
|
2591
|
+
# DeleteConnectResource请求参数结构体
|
2592
|
+
class DeleteConnectResourceRequest < TencentCloud::Common::AbstractModel
|
2593
|
+
# @param ResourceId: 连接源的Id
|
2594
|
+
# @type ResourceId: String
|
2595
|
+
|
2596
|
+
attr_accessor :ResourceId
|
2597
|
+
|
2598
|
+
def initialize(resourceid=nil)
|
2599
|
+
@ResourceId = resourceid
|
2600
|
+
end
|
2601
|
+
|
2602
|
+
def deserialize(params)
|
2603
|
+
@ResourceId = params['ResourceId']
|
2604
|
+
end
|
2605
|
+
end
|
2606
|
+
|
2607
|
+
# DeleteConnectResource返回参数结构体
|
2608
|
+
class DeleteConnectResourceResponse < TencentCloud::Common::AbstractModel
|
2609
|
+
# @param Result: 连接源的Id
|
2610
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.ConnectResourceResourceIdResp`
|
2611
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2612
|
+
# @type RequestId: String
|
2613
|
+
|
2614
|
+
attr_accessor :Result, :RequestId
|
2615
|
+
|
2616
|
+
def initialize(result=nil, requestid=nil)
|
2617
|
+
@Result = result
|
2618
|
+
@RequestId = requestid
|
2619
|
+
end
|
2620
|
+
|
2621
|
+
def deserialize(params)
|
2622
|
+
unless params['Result'].nil?
|
2623
|
+
@Result = ConnectResourceResourceIdResp.new
|
2624
|
+
@Result.deserialize(params['Result'])
|
2625
|
+
end
|
2626
|
+
@RequestId = params['RequestId']
|
2627
|
+
end
|
2628
|
+
end
|
2629
|
+
|
2630
|
+
# DeleteDatahubTask请求参数结构体
|
2631
|
+
class DeleteDatahubTaskRequest < TencentCloud::Common::AbstractModel
|
2632
|
+
# @param TaskId: 任务id
|
2633
|
+
# @type TaskId: String
|
2634
|
+
|
2635
|
+
attr_accessor :TaskId
|
2636
|
+
|
2637
|
+
def initialize(taskid=nil)
|
2638
|
+
@TaskId = taskid
|
2639
|
+
end
|
2640
|
+
|
2641
|
+
def deserialize(params)
|
2642
|
+
@TaskId = params['TaskId']
|
2643
|
+
end
|
2644
|
+
end
|
2645
|
+
|
2646
|
+
# DeleteDatahubTask返回参数结构体
|
2647
|
+
class DeleteDatahubTaskResponse < TencentCloud::Common::AbstractModel
|
2648
|
+
# @param Result: 任务id
|
2649
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2650
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DatahubTaskIdRes`
|
2651
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2652
|
+
# @type RequestId: String
|
2653
|
+
|
2654
|
+
attr_accessor :Result, :RequestId
|
2655
|
+
|
2656
|
+
def initialize(result=nil, requestid=nil)
|
2657
|
+
@Result = result
|
2658
|
+
@RequestId = requestid
|
2659
|
+
end
|
2660
|
+
|
2661
|
+
def deserialize(params)
|
2662
|
+
unless params['Result'].nil?
|
2663
|
+
@Result = DatahubTaskIdRes.new
|
2664
|
+
@Result.deserialize(params['Result'])
|
2665
|
+
end
|
2666
|
+
@RequestId = params['RequestId']
|
2667
|
+
end
|
2668
|
+
end
|
2669
|
+
|
2670
|
+
# DeleteDatahubTopic请求参数结构体
|
2671
|
+
class DeleteDatahubTopicRequest < TencentCloud::Common::AbstractModel
|
2672
|
+
# @param Name: Topic名称
|
2673
|
+
# @type Name: String
|
2674
|
+
|
2675
|
+
attr_accessor :Name
|
2676
|
+
|
2677
|
+
def initialize(name=nil)
|
2678
|
+
@Name = name
|
2679
|
+
end
|
2680
|
+
|
2681
|
+
def deserialize(params)
|
2682
|
+
@Name = params['Name']
|
2683
|
+
end
|
2684
|
+
end
|
2685
|
+
|
2686
|
+
# DeleteDatahubTopic返回参数结构体
|
2687
|
+
class DeleteDatahubTopicResponse < TencentCloud::Common::AbstractModel
|
2688
|
+
# @param Result: 返回的结果集
|
2689
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.JgwOperateResponse`
|
2690
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2691
|
+
# @type RequestId: String
|
2692
|
+
|
2693
|
+
attr_accessor :Result, :RequestId
|
2694
|
+
|
2695
|
+
def initialize(result=nil, requestid=nil)
|
2696
|
+
@Result = result
|
2697
|
+
@RequestId = requestid
|
2698
|
+
end
|
2699
|
+
|
2700
|
+
def deserialize(params)
|
2701
|
+
unless params['Result'].nil?
|
2702
|
+
@Result = JgwOperateResponse.new
|
2703
|
+
@Result.deserialize(params['Result'])
|
2704
|
+
end
|
2705
|
+
@RequestId = params['RequestId']
|
2706
|
+
end
|
2707
|
+
end
|
2708
|
+
|
2424
2709
|
# DeleteGroup请求参数结构体
|
2425
2710
|
class DeleteGroupRequest < TencentCloud::Common::AbstractModel
|
2426
2711
|
# @param InstanceId: 实例Id
|
@@ -2860,42 +3145,562 @@ module TencentCloud
|
|
2860
3145
|
end
|
2861
3146
|
end
|
2862
3147
|
|
2863
|
-
#
|
2864
|
-
class
|
2865
|
-
# @param
|
2866
|
-
#
|
2867
|
-
# @
|
2868
|
-
# @
|
2869
|
-
#
|
2870
|
-
# @type
|
2871
|
-
# @param
|
2872
|
-
#
|
2873
|
-
# @
|
2874
|
-
# @
|
2875
|
-
|
2876
|
-
|
2877
|
-
|
2878
|
-
|
2879
|
-
|
2880
|
-
|
2881
|
-
|
2882
|
-
|
2883
|
-
|
2884
|
-
|
2885
|
-
|
2886
|
-
|
2887
|
-
|
2888
|
-
|
2889
|
-
|
2890
|
-
|
2891
|
-
|
2892
|
-
|
2893
|
-
|
3148
|
+
# 查询连接源具体数据的返参
|
3149
|
+
class DescribeConnectResource < TencentCloud::Common::AbstractModel
|
3150
|
+
# @param ResourceId: 连接源的Id
|
3151
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3152
|
+
# @type ResourceId: String
|
3153
|
+
# @param ResourceName: 连接源名称
|
3154
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3155
|
+
# @type ResourceName: String
|
3156
|
+
# @param Description: 连接源描述
|
3157
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3158
|
+
# @type Description: String
|
3159
|
+
# @param Type: 连接源类型
|
3160
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3161
|
+
# @type Type: String
|
3162
|
+
# @param Status: 连接源的状态
|
3163
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3164
|
+
# @type Status: Integer
|
3165
|
+
# @param CreateTime: 连接源的创建时间
|
3166
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3167
|
+
# @type CreateTime: String
|
3168
|
+
# @param ErrorMessage: 连接源的异常信息
|
3169
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3170
|
+
# @type ErrorMessage: String
|
3171
|
+
# @param CurrentStep: 连接源的当前所处步骤
|
3172
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3173
|
+
# @type CurrentStep: String
|
3174
|
+
# @param DatahubTaskCount: 该连接源关联的Datahub任务数
|
3175
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3176
|
+
# @type DatahubTaskCount: Integer
|
3177
|
+
# @param DtsConnectParam: Dts配置,Type为DTS时返回
|
3178
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3179
|
+
# @type DtsConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.DtsConnectParam`
|
3180
|
+
# @param MongoDBConnectParam: MongoDB配置,Type为MONGODB时返回
|
3181
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3182
|
+
# @type MongoDBConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MongoDBConnectParam`
|
3183
|
+
# @param EsConnectParam: Es配置,Type为ES时返回
|
3184
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3185
|
+
# @type EsConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.EsConnectParam`
|
3186
|
+
# @param ClickHouseConnectParam: ClickHouse配置,Type为CLICKHOUSE时返回
|
3187
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3188
|
+
# @type ClickHouseConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.ClickHouseConnectParam`
|
3189
|
+
# @param MySQLConnectParam: MySQL配置,Type为MYSQL时必填
|
3190
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3191
|
+
# @type MySQLConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MySQLConnectParam`
|
3192
|
+
# @param PostgreSQLConnectParam: PostgreSQL配置,Type为POSTGRESQL或TDSQL_C_POSTGRESQL时必填
|
3193
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3194
|
+
# @type PostgreSQLConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.PostgreSQLConnectParam`
|
3195
|
+
|
3196
|
+
attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :DatahubTaskCount, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam
|
3197
|
+
|
3198
|
+
def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, currentstep=nil, datahubtaskcount=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil)
|
3199
|
+
@ResourceId = resourceid
|
3200
|
+
@ResourceName = resourcename
|
3201
|
+
@Description = description
|
3202
|
+
@Type = type
|
3203
|
+
@Status = status
|
3204
|
+
@CreateTime = createtime
|
3205
|
+
@ErrorMessage = errormessage
|
3206
|
+
@CurrentStep = currentstep
|
3207
|
+
@DatahubTaskCount = datahubtaskcount
|
3208
|
+
@DtsConnectParam = dtsconnectparam
|
3209
|
+
@MongoDBConnectParam = mongodbconnectparam
|
3210
|
+
@EsConnectParam = esconnectparam
|
3211
|
+
@ClickHouseConnectParam = clickhouseconnectparam
|
3212
|
+
@MySQLConnectParam = mysqlconnectparam
|
3213
|
+
@PostgreSQLConnectParam = postgresqlconnectparam
|
3214
|
+
end
|
3215
|
+
|
3216
|
+
def deserialize(params)
|
3217
|
+
@ResourceId = params['ResourceId']
|
3218
|
+
@ResourceName = params['ResourceName']
|
3219
|
+
@Description = params['Description']
|
3220
|
+
@Type = params['Type']
|
3221
|
+
@Status = params['Status']
|
3222
|
+
@CreateTime = params['CreateTime']
|
3223
|
+
@ErrorMessage = params['ErrorMessage']
|
3224
|
+
@CurrentStep = params['CurrentStep']
|
3225
|
+
@DatahubTaskCount = params['DatahubTaskCount']
|
3226
|
+
unless params['DtsConnectParam'].nil?
|
3227
|
+
@DtsConnectParam = DtsConnectParam.new
|
3228
|
+
@DtsConnectParam.deserialize(params['DtsConnectParam'])
|
3229
|
+
end
|
3230
|
+
unless params['MongoDBConnectParam'].nil?
|
3231
|
+
@MongoDBConnectParam = MongoDBConnectParam.new
|
3232
|
+
@MongoDBConnectParam.deserialize(params['MongoDBConnectParam'])
|
3233
|
+
end
|
3234
|
+
unless params['EsConnectParam'].nil?
|
3235
|
+
@EsConnectParam = EsConnectParam.new
|
3236
|
+
@EsConnectParam.deserialize(params['EsConnectParam'])
|
3237
|
+
end
|
3238
|
+
unless params['ClickHouseConnectParam'].nil?
|
3239
|
+
@ClickHouseConnectParam = ClickHouseConnectParam.new
|
3240
|
+
@ClickHouseConnectParam.deserialize(params['ClickHouseConnectParam'])
|
3241
|
+
end
|
3242
|
+
unless params['MySQLConnectParam'].nil?
|
3243
|
+
@MySQLConnectParam = MySQLConnectParam.new
|
3244
|
+
@MySQLConnectParam.deserialize(params['MySQLConnectParam'])
|
3245
|
+
end
|
3246
|
+
unless params['PostgreSQLConnectParam'].nil?
|
3247
|
+
@PostgreSQLConnectParam = PostgreSQLConnectParam.new
|
3248
|
+
@PostgreSQLConnectParam.deserialize(params['PostgreSQLConnectParam'])
|
3249
|
+
end
|
3250
|
+
end
|
3251
|
+
end
|
3252
|
+
|
3253
|
+
# DescribeConnectResource请求参数结构体
|
3254
|
+
class DescribeConnectResourceRequest < TencentCloud::Common::AbstractModel
|
3255
|
+
# @param ResourceId: 连接源的Id
|
3256
|
+
# @type ResourceId: String
|
3257
|
+
|
3258
|
+
attr_accessor :ResourceId
|
3259
|
+
|
3260
|
+
def initialize(resourceid=nil)
|
3261
|
+
@ResourceId = resourceid
|
3262
|
+
end
|
3263
|
+
|
3264
|
+
def deserialize(params)
|
3265
|
+
@ResourceId = params['ResourceId']
|
3266
|
+
end
|
3267
|
+
end
|
3268
|
+
|
3269
|
+
# 查询连接源具体数据的返参
|
3270
|
+
class DescribeConnectResourceResp < TencentCloud::Common::AbstractModel
|
3271
|
+
# @param ResourceId: 连接源的Id
|
3272
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3273
|
+
# @type ResourceId: String
|
3274
|
+
# @param ResourceName: 连接源名称
|
3275
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3276
|
+
# @type ResourceName: String
|
3277
|
+
# @param Description: 连接源描述
|
3278
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3279
|
+
# @type Description: String
|
3280
|
+
# @param Type: 连接源类型
|
3281
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3282
|
+
# @type Type: String
|
3283
|
+
# @param Status: 连接源的状态
|
3284
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3285
|
+
# @type Status: Integer
|
3286
|
+
# @param CreateTime: 连接源的创建时间
|
3287
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3288
|
+
# @type CreateTime: String
|
3289
|
+
# @param ErrorMessage: 连接源的异常信息
|
3290
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3291
|
+
# @type ErrorMessage: String
|
3292
|
+
# @param CurrentStep: 连接源的当前所处步骤
|
3293
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3294
|
+
# @type CurrentStep: String
|
3295
|
+
# @param StepList: 步骤列表
|
3296
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3297
|
+
# @type StepList: Array
|
3298
|
+
# @param MySQLConnectParam: MySQL配置,Type为MYSQL时返回
|
3299
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3300
|
+
# @type MySQLConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MySQLConnectParam`
|
3301
|
+
# @param PostgreSQLConnectParam: PostgreSQL配置,Type为POSTGRESQL或TDSQL_C_POSTGRESQL时返回
|
3302
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3303
|
+
# @type PostgreSQLConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.PostgreSQLConnectParam`
|
3304
|
+
# @param DtsConnectParam: Dts配置,Type为DTS时返回
|
3305
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3306
|
+
# @type DtsConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.DtsConnectParam`
|
3307
|
+
# @param MongoDBConnectParam: MongoDB配置,Type为MONGODB时返回
|
3308
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3309
|
+
# @type MongoDBConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MongoDBConnectParam`
|
3310
|
+
# @param EsConnectParam: Es配置,Type为ES时返回
|
3311
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3312
|
+
# @type EsConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.EsConnectParam`
|
3313
|
+
# @param ClickHouseConnectParam: ClickHouse配置,Type为CLICKHOUSE时返回
|
3314
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3315
|
+
# @type ClickHouseConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.ClickHouseConnectParam`
|
3316
|
+
|
3317
|
+
attr_accessor :ResourceId, :ResourceName, :Description, :Type, :Status, :CreateTime, :ErrorMessage, :CurrentStep, :StepList, :MySQLConnectParam, :PostgreSQLConnectParam, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam
|
3318
|
+
|
3319
|
+
def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, status=nil, createtime=nil, errormessage=nil, currentstep=nil, steplist=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil)
|
3320
|
+
@ResourceId = resourceid
|
3321
|
+
@ResourceName = resourcename
|
3322
|
+
@Description = description
|
3323
|
+
@Type = type
|
3324
|
+
@Status = status
|
3325
|
+
@CreateTime = createtime
|
3326
|
+
@ErrorMessage = errormessage
|
3327
|
+
@CurrentStep = currentstep
|
3328
|
+
@StepList = steplist
|
3329
|
+
@MySQLConnectParam = mysqlconnectparam
|
3330
|
+
@PostgreSQLConnectParam = postgresqlconnectparam
|
3331
|
+
@DtsConnectParam = dtsconnectparam
|
3332
|
+
@MongoDBConnectParam = mongodbconnectparam
|
3333
|
+
@EsConnectParam = esconnectparam
|
3334
|
+
@ClickHouseConnectParam = clickhouseconnectparam
|
3335
|
+
end
|
3336
|
+
|
3337
|
+
def deserialize(params)
|
3338
|
+
@ResourceId = params['ResourceId']
|
3339
|
+
@ResourceName = params['ResourceName']
|
3340
|
+
@Description = params['Description']
|
3341
|
+
@Type = params['Type']
|
3342
|
+
@Status = params['Status']
|
3343
|
+
@CreateTime = params['CreateTime']
|
3344
|
+
@ErrorMessage = params['ErrorMessage']
|
3345
|
+
@CurrentStep = params['CurrentStep']
|
3346
|
+
@StepList = params['StepList']
|
3347
|
+
unless params['MySQLConnectParam'].nil?
|
3348
|
+
@MySQLConnectParam = MySQLConnectParam.new
|
3349
|
+
@MySQLConnectParam.deserialize(params['MySQLConnectParam'])
|
3350
|
+
end
|
3351
|
+
unless params['PostgreSQLConnectParam'].nil?
|
3352
|
+
@PostgreSQLConnectParam = PostgreSQLConnectParam.new
|
3353
|
+
@PostgreSQLConnectParam.deserialize(params['PostgreSQLConnectParam'])
|
3354
|
+
end
|
3355
|
+
unless params['DtsConnectParam'].nil?
|
3356
|
+
@DtsConnectParam = DtsConnectParam.new
|
3357
|
+
@DtsConnectParam.deserialize(params['DtsConnectParam'])
|
3358
|
+
end
|
3359
|
+
unless params['MongoDBConnectParam'].nil?
|
3360
|
+
@MongoDBConnectParam = MongoDBConnectParam.new
|
3361
|
+
@MongoDBConnectParam.deserialize(params['MongoDBConnectParam'])
|
3362
|
+
end
|
3363
|
+
unless params['EsConnectParam'].nil?
|
3364
|
+
@EsConnectParam = EsConnectParam.new
|
3365
|
+
@EsConnectParam.deserialize(params['EsConnectParam'])
|
3366
|
+
end
|
3367
|
+
unless params['ClickHouseConnectParam'].nil?
|
3368
|
+
@ClickHouseConnectParam = ClickHouseConnectParam.new
|
3369
|
+
@ClickHouseConnectParam.deserialize(params['ClickHouseConnectParam'])
|
3370
|
+
end
|
3371
|
+
end
|
3372
|
+
end
|
3373
|
+
|
3374
|
+
# DescribeConnectResource返回参数结构体
|
3375
|
+
class DescribeConnectResourceResponse < TencentCloud::Common::AbstractModel
|
3376
|
+
# @param Result: 连接源的Id
|
3377
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3378
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DescribeConnectResourceResp`
|
3379
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3380
|
+
# @type RequestId: String
|
3381
|
+
|
3382
|
+
attr_accessor :Result, :RequestId
|
3383
|
+
|
3384
|
+
def initialize(result=nil, requestid=nil)
|
3385
|
+
@Result = result
|
3386
|
+
@RequestId = requestid
|
3387
|
+
end
|
3388
|
+
|
3389
|
+
def deserialize(params)
|
3390
|
+
unless params['Result'].nil?
|
3391
|
+
@Result = DescribeConnectResourceResp.new
|
3392
|
+
@Result.deserialize(params['Result'])
|
3393
|
+
end
|
3394
|
+
@RequestId = params['RequestId']
|
3395
|
+
end
|
3396
|
+
end
|
3397
|
+
|
3398
|
+
# DescribeConnectResources请求参数结构体
|
3399
|
+
class DescribeConnectResourcesRequest < TencentCloud::Common::AbstractModel
|
3400
|
+
# @param Type: 连接源类型
|
3401
|
+
# @type Type: String
|
3402
|
+
# @param SearchWord: 连接源名称的关键字查询
|
3403
|
+
# @type SearchWord: String
|
3404
|
+
# @param Offset: 分页偏移量,默认为0
|
3405
|
+
# @type Offset: Integer
|
3406
|
+
# @param Limit: 返回数量,默认为20,最大值为100
|
3407
|
+
# @type Limit: Integer
|
3408
|
+
|
3409
|
+
attr_accessor :Type, :SearchWord, :Offset, :Limit
|
3410
|
+
|
3411
|
+
def initialize(type=nil, searchword=nil, offset=nil, limit=nil)
|
3412
|
+
@Type = type
|
3413
|
+
@SearchWord = searchword
|
3414
|
+
@Offset = offset
|
3415
|
+
@Limit = limit
|
3416
|
+
end
|
3417
|
+
|
3418
|
+
def deserialize(params)
|
3419
|
+
@Type = params['Type']
|
3420
|
+
@SearchWord = params['SearchWord']
|
3421
|
+
@Offset = params['Offset']
|
3422
|
+
@Limit = params['Limit']
|
3423
|
+
end
|
3424
|
+
end
|
3425
|
+
|
3426
|
+
# 查询连接源列表的返参
|
3427
|
+
class DescribeConnectResourcesResp < TencentCloud::Common::AbstractModel
|
3428
|
+
# @param TotalCount: 连接源个数
|
3429
|
+
# @type TotalCount: Integer
|
3430
|
+
# @param ConnectResourceList: 连接源数据
|
3431
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3432
|
+
# @type ConnectResourceList: Array
|
3433
|
+
|
3434
|
+
attr_accessor :TotalCount, :ConnectResourceList
|
3435
|
+
|
3436
|
+
def initialize(totalcount=nil, connectresourcelist=nil)
|
3437
|
+
@TotalCount = totalcount
|
3438
|
+
@ConnectResourceList = connectresourcelist
|
3439
|
+
end
|
3440
|
+
|
3441
|
+
def deserialize(params)
|
3442
|
+
@TotalCount = params['TotalCount']
|
3443
|
+
unless params['ConnectResourceList'].nil?
|
3444
|
+
@ConnectResourceList = []
|
3445
|
+
params['ConnectResourceList'].each do |i|
|
3446
|
+
describeconnectresource_tmp = DescribeConnectResource.new
|
3447
|
+
describeconnectresource_tmp.deserialize(i)
|
3448
|
+
@ConnectResourceList << describeconnectresource_tmp
|
3449
|
+
end
|
3450
|
+
end
|
3451
|
+
end
|
3452
|
+
end
|
3453
|
+
|
3454
|
+
# DescribeConnectResources返回参数结构体
|
3455
|
+
class DescribeConnectResourcesResponse < TencentCloud::Common::AbstractModel
|
3456
|
+
# @param Result: 连接源列表
|
3457
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DescribeConnectResourcesResp`
|
3458
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3459
|
+
# @type RequestId: String
|
3460
|
+
|
3461
|
+
attr_accessor :Result, :RequestId
|
3462
|
+
|
3463
|
+
def initialize(result=nil, requestid=nil)
|
3464
|
+
@Result = result
|
3465
|
+
@RequestId = requestid
|
3466
|
+
end
|
3467
|
+
|
3468
|
+
def deserialize(params)
|
3469
|
+
unless params['Result'].nil?
|
3470
|
+
@Result = DescribeConnectResourcesResp.new
|
3471
|
+
@Result.deserialize(params['Result'])
|
3472
|
+
end
|
3473
|
+
@RequestId = params['RequestId']
|
3474
|
+
end
|
3475
|
+
end
|
3476
|
+
|
3477
|
+
# DescribeConsumerGroup请求参数结构体
|
3478
|
+
class DescribeConsumerGroupRequest < TencentCloud::Common::AbstractModel
|
3479
|
+
# @param InstanceId: ckafka实例id。
|
3480
|
+
# @type InstanceId: String
|
3481
|
+
# @param GroupName: 可选,用户需要查询的group名称。
|
3482
|
+
# @type GroupName: String
|
3483
|
+
# @param TopicName: 可选,用户需要查询的group中的对应的topic名称,如果指定了该参数,而group又未指定则忽略该参数。
|
3484
|
+
# @type TopicName: String
|
3485
|
+
# @param Limit: 本次返回个数限制
|
3486
|
+
# @type Limit: Integer
|
3487
|
+
# @param Offset: 偏移位置
|
3488
|
+
# @type Offset: Integer
|
3489
|
+
|
3490
|
+
attr_accessor :InstanceId, :GroupName, :TopicName, :Limit, :Offset
|
3491
|
+
|
3492
|
+
def initialize(instanceid=nil, groupname=nil, topicname=nil, limit=nil, offset=nil)
|
3493
|
+
@InstanceId = instanceid
|
3494
|
+
@GroupName = groupname
|
3495
|
+
@TopicName = topicname
|
3496
|
+
@Limit = limit
|
3497
|
+
@Offset = offset
|
3498
|
+
end
|
3499
|
+
|
3500
|
+
def deserialize(params)
|
3501
|
+
@InstanceId = params['InstanceId']
|
3502
|
+
@GroupName = params['GroupName']
|
3503
|
+
@TopicName = params['TopicName']
|
3504
|
+
@Limit = params['Limit']
|
3505
|
+
@Offset = params['Offset']
|
3506
|
+
end
|
3507
|
+
end
|
3508
|
+
|
3509
|
+
# DescribeConsumerGroup返回参数结构体
|
3510
|
+
class DescribeConsumerGroupResponse < TencentCloud::Common::AbstractModel
|
3511
|
+
# @param Result: 返回的消费分组信息
|
3512
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.ConsumerGroupResponse`
|
3513
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3514
|
+
# @type RequestId: String
|
3515
|
+
|
3516
|
+
attr_accessor :Result, :RequestId
|
3517
|
+
|
3518
|
+
def initialize(result=nil, requestid=nil)
|
3519
|
+
@Result = result
|
3520
|
+
@RequestId = requestid
|
3521
|
+
end
|
3522
|
+
|
3523
|
+
def deserialize(params)
|
3524
|
+
unless params['Result'].nil?
|
3525
|
+
@Result = ConsumerGroupResponse.new
|
3526
|
+
@Result.deserialize(params['Result'])
|
3527
|
+
end
|
3528
|
+
@RequestId = params['RequestId']
|
3529
|
+
end
|
3530
|
+
end
|
3531
|
+
|
3532
|
+
# DescribeDatahubGroupOffsets请求参数结构体
|
3533
|
+
class DescribeDatahubGroupOffsetsRequest < TencentCloud::Common::AbstractModel
|
3534
|
+
# @param Name: (过滤条件)按照实例 ID 过滤
|
3535
|
+
# @type Name: String
|
3536
|
+
# @param Group: Kafka 消费分组
|
3537
|
+
# @type Group: String
|
3538
|
+
# @param SearchWord: 模糊匹配 topicName
|
3539
|
+
# @type SearchWord: String
|
3540
|
+
# @param Offset: 本次查询的偏移位置,默认为0
|
3541
|
+
# @type Offset: Integer
|
3542
|
+
# @param Limit: 本次返回结果的最大个数,默认为50,最大值为50
|
3543
|
+
# @type Limit: Integer
|
3544
|
+
|
3545
|
+
attr_accessor :Name, :Group, :SearchWord, :Offset, :Limit
|
3546
|
+
|
3547
|
+
def initialize(name=nil, group=nil, searchword=nil, offset=nil, limit=nil)
|
3548
|
+
@Name = name
|
3549
|
+
@Group = group
|
3550
|
+
@SearchWord = searchword
|
3551
|
+
@Offset = offset
|
3552
|
+
@Limit = limit
|
3553
|
+
end
|
3554
|
+
|
3555
|
+
def deserialize(params)
|
3556
|
+
@Name = params['Name']
|
3557
|
+
@Group = params['Group']
|
3558
|
+
@SearchWord = params['SearchWord']
|
3559
|
+
@Offset = params['Offset']
|
3560
|
+
@Limit = params['Limit']
|
3561
|
+
end
|
3562
|
+
end
|
3563
|
+
|
3564
|
+
# DescribeDatahubGroupOffsets返回参数结构体
|
3565
|
+
class DescribeDatahubGroupOffsetsResponse < TencentCloud::Common::AbstractModel
|
3566
|
+
# @param Result: 返回的结果对象
|
3567
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.GroupOffsetResponse`
|
3568
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3569
|
+
# @type RequestId: String
|
3570
|
+
|
3571
|
+
attr_accessor :Result, :RequestId
|
3572
|
+
|
3573
|
+
def initialize(result=nil, requestid=nil)
|
3574
|
+
@Result = result
|
3575
|
+
@RequestId = requestid
|
3576
|
+
end
|
3577
|
+
|
3578
|
+
def deserialize(params)
|
3579
|
+
unless params['Result'].nil?
|
3580
|
+
@Result = GroupOffsetResponse.new
|
3581
|
+
@Result.deserialize(params['Result'])
|
3582
|
+
end
|
3583
|
+
@RequestId = params['RequestId']
|
3584
|
+
end
|
3585
|
+
end
|
3586
|
+
|
3587
|
+
# DescribeDatahubTask请求参数结构体
|
3588
|
+
class DescribeDatahubTaskRequest < TencentCloud::Common::AbstractModel
|
3589
|
+
# @param TaskId: 任务id
|
3590
|
+
# @type TaskId: String
|
3591
|
+
|
3592
|
+
attr_accessor :TaskId
|
3593
|
+
|
3594
|
+
def initialize(taskid=nil)
|
3595
|
+
@TaskId = taskid
|
3596
|
+
end
|
3597
|
+
|
3598
|
+
def deserialize(params)
|
3599
|
+
@TaskId = params['TaskId']
|
3600
|
+
end
|
3601
|
+
end
|
3602
|
+
|
3603
|
+
# 查询Datahub任务信息
|
3604
|
+
class DescribeDatahubTaskRes < TencentCloud::Common::AbstractModel
|
3605
|
+
# @param TaskId: 任务ID
|
3606
|
+
# @type TaskId: String
|
3607
|
+
# @param TaskName: 任务名称
|
3608
|
+
# @type TaskName: String
|
3609
|
+
# @param TaskType: 任务类型,SOURCE数据接入,SINK数据流出
|
3610
|
+
# @type TaskType: String
|
3611
|
+
# @param Status: 状态,-1创建失败,0创建中,1运行中,2删除中,3已删除,4删除失败,5暂停中,6已暂停,7暂停失败,8恢复中,9恢复失败
|
3612
|
+
# @type Status: Integer
|
3613
|
+
# @param SourceResource: 数据源
|
3614
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3615
|
+
# @type SourceResource: :class:`Tencentcloud::Ckafka.v20190819.models.DatahubResource`
|
3616
|
+
# @param TargetResource: 数据目标
|
3617
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3618
|
+
# @type TargetResource: :class:`Tencentcloud::Ckafka.v20190819.models.DatahubResource`
|
3619
|
+
# @param Connections: Connection列表
|
3620
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3621
|
+
# @type Connections: Array
|
3622
|
+
# @param CreateTime: 任务创建时间
|
3623
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3624
|
+
# @type CreateTime: String
|
3625
|
+
# @param TransformParam: 消息处理规则
|
3626
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3627
|
+
# @type TransformParam: :class:`Tencentcloud::Ckafka.v20190819.models.TransformParam`
|
3628
|
+
# @param DatahubId: 数据接入ID
|
3629
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3630
|
+
# @type DatahubId: String
|
3631
|
+
# @param SchemaId: 绑定的SchemaId
|
3632
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3633
|
+
# @type SchemaId: String
|
3634
|
+
# @param SchemaName: 绑定的Schema名称
|
3635
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3636
|
+
# @type SchemaName: String
|
3637
|
+
# @param TransformsParam: 数据处理规则
|
3638
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3639
|
+
# @type TransformsParam: :class:`Tencentcloud::Ckafka.v20190819.models.TransformsParam`
|
3640
|
+
# @param ErrorMessage: 异常信息
|
3641
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3642
|
+
# @type ErrorMessage: String
|
3643
|
+
|
3644
|
+
attr_accessor :TaskId, :TaskName, :TaskType, :Status, :SourceResource, :TargetResource, :Connections, :CreateTime, :TransformParam, :DatahubId, :SchemaId, :SchemaName, :TransformsParam, :ErrorMessage
|
3645
|
+
|
3646
|
+
def initialize(taskid=nil, taskname=nil, tasktype=nil, status=nil, sourceresource=nil, targetresource=nil, connections=nil, createtime=nil, transformparam=nil, datahubid=nil, schemaid=nil, schemaname=nil, transformsparam=nil, errormessage=nil)
|
3647
|
+
@TaskId = taskid
|
3648
|
+
@TaskName = taskname
|
3649
|
+
@TaskType = tasktype
|
3650
|
+
@Status = status
|
3651
|
+
@SourceResource = sourceresource
|
3652
|
+
@TargetResource = targetresource
|
3653
|
+
@Connections = connections
|
3654
|
+
@CreateTime = createtime
|
3655
|
+
@TransformParam = transformparam
|
3656
|
+
@DatahubId = datahubid
|
3657
|
+
@SchemaId = schemaid
|
3658
|
+
@SchemaName = schemaname
|
3659
|
+
@TransformsParam = transformsparam
|
3660
|
+
@ErrorMessage = errormessage
|
3661
|
+
end
|
3662
|
+
|
3663
|
+
def deserialize(params)
|
3664
|
+
@TaskId = params['TaskId']
|
3665
|
+
@TaskName = params['TaskName']
|
3666
|
+
@TaskType = params['TaskType']
|
3667
|
+
@Status = params['Status']
|
3668
|
+
unless params['SourceResource'].nil?
|
3669
|
+
@SourceResource = DatahubResource.new
|
3670
|
+
@SourceResource.deserialize(params['SourceResource'])
|
3671
|
+
end
|
3672
|
+
unless params['TargetResource'].nil?
|
3673
|
+
@TargetResource = DatahubResource.new
|
3674
|
+
@TargetResource.deserialize(params['TargetResource'])
|
3675
|
+
end
|
3676
|
+
unless params['Connections'].nil?
|
3677
|
+
@Connections = []
|
3678
|
+
params['Connections'].each do |i|
|
3679
|
+
connection_tmp = Connection.new
|
3680
|
+
connection_tmp.deserialize(i)
|
3681
|
+
@Connections << connection_tmp
|
3682
|
+
end
|
3683
|
+
end
|
3684
|
+
@CreateTime = params['CreateTime']
|
3685
|
+
unless params['TransformParam'].nil?
|
3686
|
+
@TransformParam = TransformParam.new
|
3687
|
+
@TransformParam.deserialize(params['TransformParam'])
|
3688
|
+
end
|
3689
|
+
@DatahubId = params['DatahubId']
|
3690
|
+
@SchemaId = params['SchemaId']
|
3691
|
+
@SchemaName = params['SchemaName']
|
3692
|
+
unless params['TransformsParam'].nil?
|
3693
|
+
@TransformsParam = TransformsParam.new
|
3694
|
+
@TransformsParam.deserialize(params['TransformsParam'])
|
3695
|
+
end
|
3696
|
+
@ErrorMessage = params['ErrorMessage']
|
3697
|
+
end
|
3698
|
+
end
|
2894
3699
|
|
2895
|
-
#
|
2896
|
-
class
|
2897
|
-
# @param Result:
|
2898
|
-
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.
|
3700
|
+
# DescribeDatahubTask返回参数结构体
|
3701
|
+
class DescribeDatahubTaskResponse < TencentCloud::Common::AbstractModel
|
3702
|
+
# @param Result: 返回结果
|
3703
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DescribeDatahubTaskRes`
|
2899
3704
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2900
3705
|
# @type RequestId: String
|
2901
3706
|
|
@@ -2908,7 +3713,98 @@ module TencentCloud
|
|
2908
3713
|
|
2909
3714
|
def deserialize(params)
|
2910
3715
|
unless params['Result'].nil?
|
2911
|
-
@Result =
|
3716
|
+
@Result = DescribeDatahubTaskRes.new
|
3717
|
+
@Result.deserialize(params['Result'])
|
3718
|
+
end
|
3719
|
+
@RequestId = params['RequestId']
|
3720
|
+
end
|
3721
|
+
end
|
3722
|
+
|
3723
|
+
# DescribeDatahubTasks请求参数结构体
|
3724
|
+
class DescribeDatahubTasksRequest < TencentCloud::Common::AbstractModel
|
3725
|
+
# @param Limit: 返回数量,默认为20,最大值为100
|
3726
|
+
# @type Limit: Integer
|
3727
|
+
# @param Offset: 分页偏移量,默认为0
|
3728
|
+
# @type Offset: Integer
|
3729
|
+
# @param SearchWord: 过滤条件,按照 TaskName 过滤,支持模糊查询
|
3730
|
+
# @type SearchWord: String
|
3731
|
+
# @param TargetType: 转储的目标类型
|
3732
|
+
# @type TargetType: String
|
3733
|
+
# @param TaskType: 任务类型,SOURCE数据接入,SINK数据流出
|
3734
|
+
# @type TaskType: String
|
3735
|
+
# @param SourceType: 转储的源类型
|
3736
|
+
# @type SourceType: String
|
3737
|
+
# @param Resource: 转储的资源
|
3738
|
+
# @type Resource: String
|
3739
|
+
|
3740
|
+
attr_accessor :Limit, :Offset, :SearchWord, :TargetType, :TaskType, :SourceType, :Resource
|
3741
|
+
|
3742
|
+
def initialize(limit=nil, offset=nil, searchword=nil, targettype=nil, tasktype=nil, sourcetype=nil, resource=nil)
|
3743
|
+
@Limit = limit
|
3744
|
+
@Offset = offset
|
3745
|
+
@SearchWord = searchword
|
3746
|
+
@TargetType = targettype
|
3747
|
+
@TaskType = tasktype
|
3748
|
+
@SourceType = sourcetype
|
3749
|
+
@Resource = resource
|
3750
|
+
end
|
3751
|
+
|
3752
|
+
def deserialize(params)
|
3753
|
+
@Limit = params['Limit']
|
3754
|
+
@Offset = params['Offset']
|
3755
|
+
@SearchWord = params['SearchWord']
|
3756
|
+
@TargetType = params['TargetType']
|
3757
|
+
@TaskType = params['TaskType']
|
3758
|
+
@SourceType = params['SourceType']
|
3759
|
+
@Resource = params['Resource']
|
3760
|
+
end
|
3761
|
+
end
|
3762
|
+
|
3763
|
+
# 查询Datahub任务列表
|
3764
|
+
class DescribeDatahubTasksRes < TencentCloud::Common::AbstractModel
|
3765
|
+
# @param TotalCount: 任务总数
|
3766
|
+
# @type TotalCount: Integer
|
3767
|
+
# @param TaskList: Datahub任务信息列表
|
3768
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3769
|
+
# @type TaskList: Array
|
3770
|
+
|
3771
|
+
attr_accessor :TotalCount, :TaskList
|
3772
|
+
|
3773
|
+
def initialize(totalcount=nil, tasklist=nil)
|
3774
|
+
@TotalCount = totalcount
|
3775
|
+
@TaskList = tasklist
|
3776
|
+
end
|
3777
|
+
|
3778
|
+
def deserialize(params)
|
3779
|
+
@TotalCount = params['TotalCount']
|
3780
|
+
unless params['TaskList'].nil?
|
3781
|
+
@TaskList = []
|
3782
|
+
params['TaskList'].each do |i|
|
3783
|
+
datahubtaskinfo_tmp = DatahubTaskInfo.new
|
3784
|
+
datahubtaskinfo_tmp.deserialize(i)
|
3785
|
+
@TaskList << datahubtaskinfo_tmp
|
3786
|
+
end
|
3787
|
+
end
|
3788
|
+
end
|
3789
|
+
end
|
3790
|
+
|
3791
|
+
# DescribeDatahubTasks返回参数结构体
|
3792
|
+
class DescribeDatahubTasksResponse < TencentCloud::Common::AbstractModel
|
3793
|
+
# @param Result: 返回任务查询结果
|
3794
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DescribeDatahubTasksRes`
|
3795
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3796
|
+
# @type RequestId: String
|
3797
|
+
|
3798
|
+
attr_accessor :Result, :RequestId
|
3799
|
+
|
3800
|
+
def initialize(result=nil, requestid=nil)
|
3801
|
+
@Result = result
|
3802
|
+
@RequestId = requestid
|
3803
|
+
end
|
3804
|
+
|
3805
|
+
def deserialize(params)
|
3806
|
+
unless params['Result'].nil?
|
3807
|
+
@Result = DescribeDatahubTasksRes.new
|
2912
3808
|
@Result.deserialize(params['Result'])
|
2913
3809
|
end
|
2914
3810
|
@RequestId = params['RequestId']
|
@@ -3763,6 +4659,53 @@ module TencentCloud
|
|
3763
4659
|
end
|
3764
4660
|
end
|
3765
4661
|
|
4662
|
+
# Dts修改连接源参数
|
4663
|
+
class DtsModifyConnectParam < TencentCloud::Common::AbstractModel
|
4664
|
+
# @param Resource: Dts实例Id【不支持修改】
|
4665
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4666
|
+
# @type Resource: String
|
4667
|
+
# @param Port: Dts的连接port【不支持修改】
|
4668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4669
|
+
# @type Port: Integer
|
4670
|
+
# @param GroupId: Dts消费分组的Id
|
4671
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4672
|
+
# @type GroupId: String
|
4673
|
+
# @param UserName: Dts消费分组的账号
|
4674
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4675
|
+
# @type UserName: String
|
4676
|
+
# @param Password: Dts消费分组的密码
|
4677
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4678
|
+
# @type Password: String
|
4679
|
+
# @param IsUpdate: 是否更新到关联的Datahub任务,默认为true
|
4680
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4681
|
+
# @type IsUpdate: Boolean
|
4682
|
+
# @param Topic: Dts订阅的topic【不支持修改】
|
4683
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4684
|
+
# @type Topic: String
|
4685
|
+
|
4686
|
+
attr_accessor :Resource, :Port, :GroupId, :UserName, :Password, :IsUpdate, :Topic
|
4687
|
+
|
4688
|
+
def initialize(resource=nil, port=nil, groupid=nil, username=nil, password=nil, isupdate=nil, topic=nil)
|
4689
|
+
@Resource = resource
|
4690
|
+
@Port = port
|
4691
|
+
@GroupId = groupid
|
4692
|
+
@UserName = username
|
4693
|
+
@Password = password
|
4694
|
+
@IsUpdate = isupdate
|
4695
|
+
@Topic = topic
|
4696
|
+
end
|
4697
|
+
|
4698
|
+
def deserialize(params)
|
4699
|
+
@Resource = params['Resource']
|
4700
|
+
@Port = params['Port']
|
4701
|
+
@GroupId = params['GroupId']
|
4702
|
+
@UserName = params['UserName']
|
4703
|
+
@Password = params['Password']
|
4704
|
+
@IsUpdate = params['IsUpdate']
|
4705
|
+
@Topic = params['Topic']
|
4706
|
+
end
|
4707
|
+
end
|
4708
|
+
|
3766
4709
|
# Dts类型入参
|
3767
4710
|
class DtsParam < TencentCloud::Common::AbstractModel
|
3768
4711
|
# @param Resource: Dts实例Id
|
@@ -3923,6 +4866,58 @@ module TencentCloud
|
|
3923
4866
|
end
|
3924
4867
|
end
|
3925
4868
|
|
4869
|
+
# Es修改连接源参数
|
4870
|
+
class EsModifyConnectParam < TencentCloud::Common::AbstractModel
|
4871
|
+
# @param Resource: Es连接源的实例资源【不支持修改】
|
4872
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4873
|
+
# @type Resource: String
|
4874
|
+
# @param Port: Es的连接port【不支持修改】
|
4875
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4876
|
+
# @type Port: Integer
|
4877
|
+
# @param ServiceVip: Es连接源的实例vip【不支持修改】
|
4878
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4879
|
+
# @type ServiceVip: String
|
4880
|
+
# @param UniqVpcId: Es连接源的vpcId【不支持修改】
|
4881
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4882
|
+
# @type UniqVpcId: String
|
4883
|
+
# @param UserName: Es连接源的用户名
|
4884
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4885
|
+
# @type UserName: String
|
4886
|
+
# @param Password: Es连接源的密码
|
4887
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4888
|
+
# @type Password: String
|
4889
|
+
# @param SelfBuilt: Es连接源是否为自建集群【不支持修改】
|
4890
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4891
|
+
# @type SelfBuilt: Boolean
|
4892
|
+
# @param IsUpdate: 是否更新到关联的Datahub任务
|
4893
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4894
|
+
# @type IsUpdate: Boolean
|
4895
|
+
|
4896
|
+
attr_accessor :Resource, :Port, :ServiceVip, :UniqVpcId, :UserName, :Password, :SelfBuilt, :IsUpdate
|
4897
|
+
|
4898
|
+
def initialize(resource=nil, port=nil, servicevip=nil, uniqvpcid=nil, username=nil, password=nil, selfbuilt=nil, isupdate=nil)
|
4899
|
+
@Resource = resource
|
4900
|
+
@Port = port
|
4901
|
+
@ServiceVip = servicevip
|
4902
|
+
@UniqVpcId = uniqvpcid
|
4903
|
+
@UserName = username
|
4904
|
+
@Password = password
|
4905
|
+
@SelfBuilt = selfbuilt
|
4906
|
+
@IsUpdate = isupdate
|
4907
|
+
end
|
4908
|
+
|
4909
|
+
def deserialize(params)
|
4910
|
+
@Resource = params['Resource']
|
4911
|
+
@Port = params['Port']
|
4912
|
+
@ServiceVip = params['ServiceVip']
|
4913
|
+
@UniqVpcId = params['UniqVpcId']
|
4914
|
+
@UserName = params['UserName']
|
4915
|
+
@Password = params['Password']
|
4916
|
+
@SelfBuilt = params['SelfBuilt']
|
4917
|
+
@IsUpdate = params['IsUpdate']
|
4918
|
+
end
|
4919
|
+
end
|
4920
|
+
|
3926
4921
|
# Es类型入参
|
3927
4922
|
class EsParam < TencentCloud::Common::AbstractModel
|
3928
4923
|
# @param Resource: 实例资源
|
@@ -4029,56 +5024,158 @@ module TencentCloud
|
|
4029
5024
|
end
|
4030
5025
|
|
4031
5026
|
def deserialize(params)
|
4032
|
-
@Type = params['Type']
|
4033
|
-
@SelfBuilt = params['SelfBuilt']
|
4034
|
-
@Resource = params['Resource']
|
4035
|
-
@Namespace = params['Namespace']
|
4036
|
-
@FunctionName = params['FunctionName']
|
4037
|
-
@Qualifier = params['Qualifier']
|
5027
|
+
@Type = params['Type']
|
5028
|
+
@SelfBuilt = params['SelfBuilt']
|
5029
|
+
@Resource = params['Resource']
|
5030
|
+
@Namespace = params['Namespace']
|
5031
|
+
@FunctionName = params['FunctionName']
|
5032
|
+
@Qualifier = params['Qualifier']
|
5033
|
+
end
|
5034
|
+
end
|
5035
|
+
|
5036
|
+
# 数据处理规则失败处理
|
5037
|
+
class FailureParam < TencentCloud::Common::AbstractModel
|
5038
|
+
# @param Type: 类型,DLQ死信队列,IGNORE_ERROR保留,DROP废弃
|
5039
|
+
# @type Type: String
|
5040
|
+
# @param KafkaParam: Ckafka类型死信队列
|
5041
|
+
# @type KafkaParam: :class:`Tencentcloud::Ckafka.v20190819.models.KafkaParam`
|
5042
|
+
# @param RetryInterval: 重试间隔
|
5043
|
+
# @type RetryInterval: Integer
|
5044
|
+
# @param MaxRetryAttempts: 重试次数
|
5045
|
+
# @type MaxRetryAttempts: Integer
|
5046
|
+
# @param TopicParam: DIP Topic类型死信队列
|
5047
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5048
|
+
# @type TopicParam: :class:`Tencentcloud::Ckafka.v20190819.models.TopicParam`
|
5049
|
+
# @param DlqType: 死信队列类型,CKAFKA,TOPIC
|
5050
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5051
|
+
# @type DlqType: String
|
5052
|
+
|
5053
|
+
attr_accessor :Type, :KafkaParam, :RetryInterval, :MaxRetryAttempts, :TopicParam, :DlqType
|
5054
|
+
|
5055
|
+
def initialize(type=nil, kafkaparam=nil, retryinterval=nil, maxretryattempts=nil, topicparam=nil, dlqtype=nil)
|
5056
|
+
@Type = type
|
5057
|
+
@KafkaParam = kafkaparam
|
5058
|
+
@RetryInterval = retryinterval
|
5059
|
+
@MaxRetryAttempts = maxretryattempts
|
5060
|
+
@TopicParam = topicparam
|
5061
|
+
@DlqType = dlqtype
|
5062
|
+
end
|
5063
|
+
|
5064
|
+
def deserialize(params)
|
5065
|
+
@Type = params['Type']
|
5066
|
+
unless params['KafkaParam'].nil?
|
5067
|
+
@KafkaParam = KafkaParam.new
|
5068
|
+
@KafkaParam.deserialize(params['KafkaParam'])
|
5069
|
+
end
|
5070
|
+
@RetryInterval = params['RetryInterval']
|
5071
|
+
@MaxRetryAttempts = params['MaxRetryAttempts']
|
5072
|
+
unless params['TopicParam'].nil?
|
5073
|
+
@TopicParam = TopicParam.new
|
5074
|
+
@TopicParam.deserialize(params['TopicParam'])
|
5075
|
+
end
|
5076
|
+
@DlqType = params['DlqType']
|
5077
|
+
end
|
5078
|
+
end
|
5079
|
+
|
5080
|
+
# FetchDatahubMessageByOffset请求参数结构体
|
5081
|
+
class FetchDatahubMessageByOffsetRequest < TencentCloud::Common::AbstractModel
|
5082
|
+
# @param Name: 主题名
|
5083
|
+
# @type Name: String
|
5084
|
+
# @param Partition: 分区id
|
5085
|
+
# @type Partition: Integer
|
5086
|
+
# @param Offset: 位点信息,必填
|
5087
|
+
# @type Offset: Integer
|
5088
|
+
|
5089
|
+
attr_accessor :Name, :Partition, :Offset
|
5090
|
+
|
5091
|
+
def initialize(name=nil, partition=nil, offset=nil)
|
5092
|
+
@Name = name
|
5093
|
+
@Partition = partition
|
5094
|
+
@Offset = offset
|
5095
|
+
end
|
5096
|
+
|
5097
|
+
def deserialize(params)
|
5098
|
+
@Name = params['Name']
|
5099
|
+
@Partition = params['Partition']
|
5100
|
+
@Offset = params['Offset']
|
5101
|
+
end
|
5102
|
+
end
|
5103
|
+
|
5104
|
+
# FetchDatahubMessageByOffset返回参数结构体
|
5105
|
+
class FetchDatahubMessageByOffsetResponse < TencentCloud::Common::AbstractModel
|
5106
|
+
# @param Result: 返回结果
|
5107
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.ConsumerRecord`
|
5108
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5109
|
+
# @type RequestId: String
|
5110
|
+
|
5111
|
+
attr_accessor :Result, :RequestId
|
5112
|
+
|
5113
|
+
def initialize(result=nil, requestid=nil)
|
5114
|
+
@Result = result
|
5115
|
+
@RequestId = requestid
|
5116
|
+
end
|
5117
|
+
|
5118
|
+
def deserialize(params)
|
5119
|
+
unless params['Result'].nil?
|
5120
|
+
@Result = ConsumerRecord.new
|
5121
|
+
@Result.deserialize(params['Result'])
|
5122
|
+
end
|
5123
|
+
@RequestId = params['RequestId']
|
5124
|
+
end
|
5125
|
+
end
|
5126
|
+
|
5127
|
+
# FetchLatestDatahubMessageList请求参数结构体
|
5128
|
+
class FetchLatestDatahubMessageListRequest < TencentCloud::Common::AbstractModel
|
5129
|
+
# @param Name: 主题名
|
5130
|
+
# @type Name: String
|
5131
|
+
# @param Partition: 分区id
|
5132
|
+
# @type Partition: Integer
|
5133
|
+
# @param Offset: 位点信息
|
5134
|
+
# @type Offset: Integer
|
5135
|
+
# @param MessageCount: 最大查询条数,最小1,最大100
|
5136
|
+
# @type MessageCount: Integer
|
5137
|
+
|
5138
|
+
attr_accessor :Name, :Partition, :Offset, :MessageCount
|
5139
|
+
|
5140
|
+
def initialize(name=nil, partition=nil, offset=nil, messagecount=nil)
|
5141
|
+
@Name = name
|
5142
|
+
@Partition = partition
|
5143
|
+
@Offset = offset
|
5144
|
+
@MessageCount = messagecount
|
5145
|
+
end
|
5146
|
+
|
5147
|
+
def deserialize(params)
|
5148
|
+
@Name = params['Name']
|
5149
|
+
@Partition = params['Partition']
|
5150
|
+
@Offset = params['Offset']
|
5151
|
+
@MessageCount = params['MessageCount']
|
4038
5152
|
end
|
4039
5153
|
end
|
4040
5154
|
|
4041
|
-
#
|
4042
|
-
class
|
4043
|
-
# @param
|
4044
|
-
# @type
|
4045
|
-
# @param
|
4046
|
-
# @type
|
4047
|
-
# @param RetryInterval: 重试间隔
|
4048
|
-
# @type RetryInterval: Integer
|
4049
|
-
# @param MaxRetryAttempts: 重试次数
|
4050
|
-
# @type MaxRetryAttempts: Integer
|
4051
|
-
# @param TopicParam: DIP Topic类型死信队列
|
4052
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4053
|
-
# @type TopicParam: :class:`Tencentcloud::Ckafka.v20190819.models.TopicParam`
|
4054
|
-
# @param DlqType: 死信队列类型,CKAFKA,TOPIC
|
4055
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4056
|
-
# @type DlqType: String
|
5155
|
+
# FetchLatestDatahubMessageList返回参数结构体
|
5156
|
+
class FetchLatestDatahubMessageListResponse < TencentCloud::Common::AbstractModel
|
5157
|
+
# @param Result: 返回结果。
|
5158
|
+
# @type Result: Array
|
5159
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5160
|
+
# @type RequestId: String
|
4057
5161
|
|
4058
|
-
attr_accessor :
|
5162
|
+
attr_accessor :Result, :RequestId
|
4059
5163
|
|
4060
|
-
def initialize(
|
4061
|
-
@
|
4062
|
-
@
|
4063
|
-
@RetryInterval = retryinterval
|
4064
|
-
@MaxRetryAttempts = maxretryattempts
|
4065
|
-
@TopicParam = topicparam
|
4066
|
-
@DlqType = dlqtype
|
5164
|
+
def initialize(result=nil, requestid=nil)
|
5165
|
+
@Result = result
|
5166
|
+
@RequestId = requestid
|
4067
5167
|
end
|
4068
5168
|
|
4069
5169
|
def deserialize(params)
|
4070
|
-
|
4071
|
-
|
4072
|
-
|
4073
|
-
|
4074
|
-
|
4075
|
-
|
4076
|
-
|
4077
|
-
unless params['TopicParam'].nil?
|
4078
|
-
@TopicParam = TopicParam.new
|
4079
|
-
@TopicParam.deserialize(params['TopicParam'])
|
5170
|
+
unless params['Result'].nil?
|
5171
|
+
@Result = []
|
5172
|
+
params['Result'].each do |i|
|
5173
|
+
consumerrecord_tmp = ConsumerRecord.new
|
5174
|
+
consumerrecord_tmp.deserialize(i)
|
5175
|
+
@Result << consumerrecord_tmp
|
5176
|
+
end
|
4080
5177
|
end
|
4081
|
-
@
|
5178
|
+
@RequestId = params['RequestId']
|
4082
5179
|
end
|
4083
5180
|
end
|
4084
5181
|
|
@@ -5099,84 +6196,282 @@ module TencentCloud
|
|
5099
6196
|
end
|
5100
6197
|
|
5101
6198
|
def deserialize(params)
|
5102
|
-
@Key = params['Key']
|
5103
|
-
@Type = params['Type']
|
5104
|
-
@Value = params['Value']
|
6199
|
+
@Key = params['Key']
|
6200
|
+
@Type = params['Type']
|
6201
|
+
@Value = params['Value']
|
6202
|
+
end
|
6203
|
+
end
|
6204
|
+
|
6205
|
+
# MariaDB连接源参数
|
6206
|
+
class MariaDBConnectParam < TencentCloud::Common::AbstractModel
|
6207
|
+
# @param Port: MariaDB的连接port
|
6208
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6209
|
+
# @type Port: Integer
|
6210
|
+
# @param UserName: MariaDB连接源的用户名
|
6211
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6212
|
+
# @type UserName: String
|
6213
|
+
# @param Password: MariaDB连接源的密码
|
6214
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6215
|
+
# @type Password: String
|
6216
|
+
# @param Resource: MariaDB连接源的实例资源
|
6217
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6218
|
+
# @type Resource: String
|
6219
|
+
# @param ServiceVip: MariaDB连接源的实例vip,当为腾讯云实例时,必填
|
6220
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6221
|
+
# @type ServiceVip: String
|
6222
|
+
# @param UniqVpcId: MariaDB连接源的vpcId,当为腾讯云实例时,必填
|
6223
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6224
|
+
# @type UniqVpcId: String
|
6225
|
+
# @param IsUpdate: 是否更新到关联的Datahub任务
|
6226
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6227
|
+
# @type IsUpdate: Boolean
|
6228
|
+
|
6229
|
+
attr_accessor :Port, :UserName, :Password, :Resource, :ServiceVip, :UniqVpcId, :IsUpdate
|
6230
|
+
|
6231
|
+
def initialize(port=nil, username=nil, password=nil, resource=nil, servicevip=nil, uniqvpcid=nil, isupdate=nil)
|
6232
|
+
@Port = port
|
6233
|
+
@UserName = username
|
6234
|
+
@Password = password
|
6235
|
+
@Resource = resource
|
6236
|
+
@ServiceVip = servicevip
|
6237
|
+
@UniqVpcId = uniqvpcid
|
6238
|
+
@IsUpdate = isupdate
|
6239
|
+
end
|
6240
|
+
|
6241
|
+
def deserialize(params)
|
6242
|
+
@Port = params['Port']
|
6243
|
+
@UserName = params['UserName']
|
6244
|
+
@Password = params['Password']
|
6245
|
+
@Resource = params['Resource']
|
6246
|
+
@ServiceVip = params['ServiceVip']
|
6247
|
+
@UniqVpcId = params['UniqVpcId']
|
6248
|
+
@IsUpdate = params['IsUpdate']
|
6249
|
+
end
|
6250
|
+
end
|
6251
|
+
|
6252
|
+
# MariaDB连接源参数
|
6253
|
+
class MariaDBModifyConnectParam < TencentCloud::Common::AbstractModel
|
6254
|
+
# @param Resource: MariaDB连接源的实例资源【不支持修改】
|
6255
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6256
|
+
# @type Resource: String
|
6257
|
+
# @param Port: MariaDB的连接port【不支持修改】
|
6258
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6259
|
+
# @type Port: Integer
|
6260
|
+
# @param ServiceVip: MariaDB连接源的实例vip【不支持修改】
|
6261
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6262
|
+
# @type ServiceVip: String
|
6263
|
+
# @param UniqVpcId: MariaDB连接源的vpcId【不支持修改】
|
6264
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6265
|
+
# @type UniqVpcId: String
|
6266
|
+
# @param UserName: MariaDB连接源的用户名
|
6267
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6268
|
+
# @type UserName: String
|
6269
|
+
# @param Password: MariaDB连接源的密码
|
6270
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6271
|
+
# @type Password: String
|
6272
|
+
# @param IsUpdate: 是否更新到关联的Datahub任务
|
6273
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6274
|
+
# @type IsUpdate: Boolean
|
6275
|
+
|
6276
|
+
attr_accessor :Resource, :Port, :ServiceVip, :UniqVpcId, :UserName, :Password, :IsUpdate
|
6277
|
+
|
6278
|
+
def initialize(resource=nil, port=nil, servicevip=nil, uniqvpcid=nil, username=nil, password=nil, isupdate=nil)
|
6279
|
+
@Resource = resource
|
6280
|
+
@Port = port
|
6281
|
+
@ServiceVip = servicevip
|
6282
|
+
@UniqVpcId = uniqvpcid
|
6283
|
+
@UserName = username
|
6284
|
+
@Password = password
|
6285
|
+
@IsUpdate = isupdate
|
6286
|
+
end
|
6287
|
+
|
6288
|
+
def deserialize(params)
|
6289
|
+
@Resource = params['Resource']
|
6290
|
+
@Port = params['Port']
|
6291
|
+
@ServiceVip = params['ServiceVip']
|
6292
|
+
@UniqVpcId = params['UniqVpcId']
|
6293
|
+
@UserName = params['UserName']
|
6294
|
+
@Password = params['Password']
|
6295
|
+
@IsUpdate = params['IsUpdate']
|
6296
|
+
end
|
6297
|
+
end
|
6298
|
+
|
6299
|
+
# MariaDB类型入参
|
6300
|
+
class MariaDBParam < TencentCloud::Common::AbstractModel
|
6301
|
+
# @param Database: MariaDB的数据库名称,"*"为全数据库
|
6302
|
+
# @type Database: String
|
6303
|
+
# @param Table: MariaDB的数据表名称,"*"为所监听的所有数据库中的非系统表,可以","间隔,监听多个数据表,但数据表需要以"数据库名.数据表名"的格式进行填写
|
6304
|
+
# @type Table: String
|
6305
|
+
# @param Resource: 该MariaDB在连接管理内的Id
|
6306
|
+
# @type Resource: String
|
6307
|
+
# @param SnapshotMode: 复制存量信息(schema_only不复制, initial全量),默认位initial
|
6308
|
+
# @type SnapshotMode: String
|
6309
|
+
|
6310
|
+
attr_accessor :Database, :Table, :Resource, :SnapshotMode
|
6311
|
+
|
6312
|
+
def initialize(database=nil, table=nil, resource=nil, snapshotmode=nil)
|
6313
|
+
@Database = database
|
6314
|
+
@Table = table
|
6315
|
+
@Resource = resource
|
6316
|
+
@SnapshotMode = snapshotmode
|
6317
|
+
end
|
6318
|
+
|
6319
|
+
def deserialize(params)
|
6320
|
+
@Database = params['Database']
|
6321
|
+
@Table = params['Table']
|
6322
|
+
@Resource = params['Resource']
|
6323
|
+
@SnapshotMode = params['SnapshotMode']
|
6324
|
+
end
|
6325
|
+
end
|
6326
|
+
|
6327
|
+
# ModifyConnectResource请求参数结构体
|
6328
|
+
class ModifyConnectResourceRequest < TencentCloud::Common::AbstractModel
|
6329
|
+
# @param ResourceId: 连接源的Id
|
6330
|
+
# @type ResourceId: String
|
6331
|
+
# @param ResourceName: 连接源名称,为空时不修改
|
6332
|
+
# @type ResourceName: String
|
6333
|
+
# @param Description: 连接源描述,为空时不修改
|
6334
|
+
# @type Description: String
|
6335
|
+
# @param Type: 连接源类型,修改数据源参数时,需要与原Type相同,否则编辑数据源无效
|
6336
|
+
# @type Type: String
|
6337
|
+
# @param DtsConnectParam: Dts配置,Type为DTS时必填
|
6338
|
+
# @type DtsConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.DtsModifyConnectParam`
|
6339
|
+
# @param MongoDBConnectParam: MongoDB配置,Type为MONGODB时必填
|
6340
|
+
# @type MongoDBConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MongoDBModifyConnectParam`
|
6341
|
+
# @param EsConnectParam: Es配置,Type为ES时必填
|
6342
|
+
# @type EsConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.EsModifyConnectParam`
|
6343
|
+
# @param ClickHouseConnectParam: ClickHouse配置,Type为CLICKHOUSE时必填
|
6344
|
+
# @type ClickHouseConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.ClickHouseModifyConnectParam`
|
6345
|
+
# @param MySQLConnectParam: MySQL配置,Type为MYSQL或TDSQL_C_MYSQL时必填
|
6346
|
+
# @type MySQLConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MySQLModifyConnectParam`
|
6347
|
+
# @param PostgreSQLConnectParam: PostgreSQL配置,Type为POSTGRESQL或TDSQL_C_POSTGRESQL时必填
|
6348
|
+
# @type PostgreSQLConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.PostgreSQLModifyConnectParam`
|
6349
|
+
# @param MariaDBConnectParam: MariaDB配置,Type为MARIADB时必填
|
6350
|
+
# @type MariaDBConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.MariaDBModifyConnectParam`
|
6351
|
+
# @param SQLServerConnectParam: SQLServer配置,Type为SQLSERVER时必填
|
6352
|
+
# @type SQLServerConnectParam: :class:`Tencentcloud::Ckafka.v20190819.models.SQLServerModifyConnectParam`
|
6353
|
+
|
6354
|
+
attr_accessor :ResourceId, :ResourceName, :Description, :Type, :DtsConnectParam, :MongoDBConnectParam, :EsConnectParam, :ClickHouseConnectParam, :MySQLConnectParam, :PostgreSQLConnectParam, :MariaDBConnectParam, :SQLServerConnectParam
|
6355
|
+
|
6356
|
+
def initialize(resourceid=nil, resourcename=nil, description=nil, type=nil, dtsconnectparam=nil, mongodbconnectparam=nil, esconnectparam=nil, clickhouseconnectparam=nil, mysqlconnectparam=nil, postgresqlconnectparam=nil, mariadbconnectparam=nil, sqlserverconnectparam=nil)
|
6357
|
+
@ResourceId = resourceid
|
6358
|
+
@ResourceName = resourcename
|
6359
|
+
@Description = description
|
6360
|
+
@Type = type
|
6361
|
+
@DtsConnectParam = dtsconnectparam
|
6362
|
+
@MongoDBConnectParam = mongodbconnectparam
|
6363
|
+
@EsConnectParam = esconnectparam
|
6364
|
+
@ClickHouseConnectParam = clickhouseconnectparam
|
6365
|
+
@MySQLConnectParam = mysqlconnectparam
|
6366
|
+
@PostgreSQLConnectParam = postgresqlconnectparam
|
6367
|
+
@MariaDBConnectParam = mariadbconnectparam
|
6368
|
+
@SQLServerConnectParam = sqlserverconnectparam
|
6369
|
+
end
|
6370
|
+
|
6371
|
+
def deserialize(params)
|
6372
|
+
@ResourceId = params['ResourceId']
|
6373
|
+
@ResourceName = params['ResourceName']
|
6374
|
+
@Description = params['Description']
|
6375
|
+
@Type = params['Type']
|
6376
|
+
unless params['DtsConnectParam'].nil?
|
6377
|
+
@DtsConnectParam = DtsModifyConnectParam.new
|
6378
|
+
@DtsConnectParam.deserialize(params['DtsConnectParam'])
|
6379
|
+
end
|
6380
|
+
unless params['MongoDBConnectParam'].nil?
|
6381
|
+
@MongoDBConnectParam = MongoDBModifyConnectParam.new
|
6382
|
+
@MongoDBConnectParam.deserialize(params['MongoDBConnectParam'])
|
6383
|
+
end
|
6384
|
+
unless params['EsConnectParam'].nil?
|
6385
|
+
@EsConnectParam = EsModifyConnectParam.new
|
6386
|
+
@EsConnectParam.deserialize(params['EsConnectParam'])
|
6387
|
+
end
|
6388
|
+
unless params['ClickHouseConnectParam'].nil?
|
6389
|
+
@ClickHouseConnectParam = ClickHouseModifyConnectParam.new
|
6390
|
+
@ClickHouseConnectParam.deserialize(params['ClickHouseConnectParam'])
|
6391
|
+
end
|
6392
|
+
unless params['MySQLConnectParam'].nil?
|
6393
|
+
@MySQLConnectParam = MySQLModifyConnectParam.new
|
6394
|
+
@MySQLConnectParam.deserialize(params['MySQLConnectParam'])
|
6395
|
+
end
|
6396
|
+
unless params['PostgreSQLConnectParam'].nil?
|
6397
|
+
@PostgreSQLConnectParam = PostgreSQLModifyConnectParam.new
|
6398
|
+
@PostgreSQLConnectParam.deserialize(params['PostgreSQLConnectParam'])
|
6399
|
+
end
|
6400
|
+
unless params['MariaDBConnectParam'].nil?
|
6401
|
+
@MariaDBConnectParam = MariaDBModifyConnectParam.new
|
6402
|
+
@MariaDBConnectParam.deserialize(params['MariaDBConnectParam'])
|
6403
|
+
end
|
6404
|
+
unless params['SQLServerConnectParam'].nil?
|
6405
|
+
@SQLServerConnectParam = SQLServerModifyConnectParam.new
|
6406
|
+
@SQLServerConnectParam.deserialize(params['SQLServerConnectParam'])
|
6407
|
+
end
|
6408
|
+
end
|
6409
|
+
end
|
6410
|
+
|
6411
|
+
# ModifyConnectResource返回参数结构体
|
6412
|
+
class ModifyConnectResourceResponse < TencentCloud::Common::AbstractModel
|
6413
|
+
# @param Result: 连接源的Id
|
6414
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.ConnectResourceResourceIdResp`
|
6415
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6416
|
+
# @type RequestId: String
|
6417
|
+
|
6418
|
+
attr_accessor :Result, :RequestId
|
6419
|
+
|
6420
|
+
def initialize(result=nil, requestid=nil)
|
6421
|
+
@Result = result
|
6422
|
+
@RequestId = requestid
|
6423
|
+
end
|
6424
|
+
|
6425
|
+
def deserialize(params)
|
6426
|
+
unless params['Result'].nil?
|
6427
|
+
@Result = ConnectResourceResourceIdResp.new
|
6428
|
+
@Result.deserialize(params['Result'])
|
6429
|
+
end
|
6430
|
+
@RequestId = params['RequestId']
|
5105
6431
|
end
|
5106
6432
|
end
|
5107
6433
|
|
5108
|
-
#
|
5109
|
-
class
|
5110
|
-
# @param
|
5111
|
-
#
|
5112
|
-
# @
|
5113
|
-
# @
|
5114
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5115
|
-
# @type UserName: String
|
5116
|
-
# @param Password: MariaDB连接源的密码
|
5117
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5118
|
-
# @type Password: String
|
5119
|
-
# @param Resource: MariaDB连接源的实例资源
|
5120
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5121
|
-
# @type Resource: String
|
5122
|
-
# @param ServiceVip: MariaDB连接源的实例vip,当为腾讯云实例时,必填
|
5123
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5124
|
-
# @type ServiceVip: String
|
5125
|
-
# @param UniqVpcId: MariaDB连接源的vpcId,当为腾讯云实例时,必填
|
5126
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5127
|
-
# @type UniqVpcId: String
|
5128
|
-
# @param IsUpdate: 是否更新到关联的Datahub任务
|
5129
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5130
|
-
# @type IsUpdate: Boolean
|
6434
|
+
# ModifyDatahubTask请求参数结构体
|
6435
|
+
class ModifyDatahubTaskRequest < TencentCloud::Common::AbstractModel
|
6436
|
+
# @param TaskId: 任务id
|
6437
|
+
# @type TaskId: String
|
6438
|
+
# @param TaskName: 任务名称
|
6439
|
+
# @type TaskName: String
|
5131
6440
|
|
5132
|
-
attr_accessor :
|
6441
|
+
attr_accessor :TaskId, :TaskName
|
5133
6442
|
|
5134
|
-
def initialize(
|
5135
|
-
@
|
5136
|
-
@
|
5137
|
-
@Password = password
|
5138
|
-
@Resource = resource
|
5139
|
-
@ServiceVip = servicevip
|
5140
|
-
@UniqVpcId = uniqvpcid
|
5141
|
-
@IsUpdate = isupdate
|
6443
|
+
def initialize(taskid=nil, taskname=nil)
|
6444
|
+
@TaskId = taskid
|
6445
|
+
@TaskName = taskname
|
5142
6446
|
end
|
5143
6447
|
|
5144
6448
|
def deserialize(params)
|
5145
|
-
@
|
5146
|
-
@
|
5147
|
-
@Password = params['Password']
|
5148
|
-
@Resource = params['Resource']
|
5149
|
-
@ServiceVip = params['ServiceVip']
|
5150
|
-
@UniqVpcId = params['UniqVpcId']
|
5151
|
-
@IsUpdate = params['IsUpdate']
|
6449
|
+
@TaskId = params['TaskId']
|
6450
|
+
@TaskName = params['TaskName']
|
5152
6451
|
end
|
5153
6452
|
end
|
5154
6453
|
|
5155
|
-
#
|
5156
|
-
class
|
5157
|
-
# @param
|
5158
|
-
#
|
5159
|
-
# @
|
5160
|
-
# @
|
5161
|
-
# @
|
5162
|
-
# @type Resource: String
|
5163
|
-
# @param SnapshotMode: 复制存量信息(schema_only不复制, initial全量),默认位initial
|
5164
|
-
# @type SnapshotMode: String
|
6454
|
+
# ModifyDatahubTask返回参数结构体
|
6455
|
+
class ModifyDatahubTaskResponse < TencentCloud::Common::AbstractModel
|
6456
|
+
# @param Result: 任务id
|
6457
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6458
|
+
# @type Result: :class:`Tencentcloud::Ckafka.v20190819.models.DatahubTaskIdRes`
|
6459
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6460
|
+
# @type RequestId: String
|
5165
6461
|
|
5166
|
-
attr_accessor :
|
6462
|
+
attr_accessor :Result, :RequestId
|
5167
6463
|
|
5168
|
-
def initialize(
|
5169
|
-
@
|
5170
|
-
@
|
5171
|
-
@Resource = resource
|
5172
|
-
@SnapshotMode = snapshotmode
|
6464
|
+
def initialize(result=nil, requestid=nil)
|
6465
|
+
@Result = result
|
6466
|
+
@RequestId = requestid
|
5173
6467
|
end
|
5174
6468
|
|
5175
6469
|
def deserialize(params)
|
5176
|
-
|
5177
|
-
|
5178
|
-
|
5179
|
-
|
6470
|
+
unless params['Result'].nil?
|
6471
|
+
@Result = DatahubTaskIdRes.new
|
6472
|
+
@Result.deserialize(params['Result'])
|
6473
|
+
end
|
6474
|
+
@RequestId = params['RequestId']
|
5180
6475
|
end
|
5181
6476
|
end
|
5182
6477
|
|
@@ -5615,6 +6910,58 @@ module TencentCloud
|
|
5615
6910
|
end
|
5616
6911
|
end
|
5617
6912
|
|
6913
|
+
# MongoDB修改连接源参数
|
6914
|
+
class MongoDBModifyConnectParam < TencentCloud::Common::AbstractModel
|
6915
|
+
# @param Resource: MongoDB连接源的实例资源【不支持修改】
|
6916
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6917
|
+
# @type Resource: String
|
6918
|
+
# @param Port: MongoDB的连接port【不支持修改】
|
6919
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6920
|
+
# @type Port: Integer
|
6921
|
+
# @param ServiceVip: MongoDB连接源的实例vip【不支持修改】
|
6922
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6923
|
+
# @type ServiceVip: String
|
6924
|
+
# @param UniqVpcId: MongoDB连接源的vpcId【不支持修改】
|
6925
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6926
|
+
# @type UniqVpcId: String
|
6927
|
+
# @param UserName: MongoDB连接源的用户名
|
6928
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6929
|
+
# @type UserName: String
|
6930
|
+
# @param Password: MongoDB连接源的密码
|
6931
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6932
|
+
# @type Password: String
|
6933
|
+
# @param SelfBuilt: MongoDB连接源是否为自建集群【不支持修改】
|
6934
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6935
|
+
# @type SelfBuilt: Boolean
|
6936
|
+
# @param IsUpdate: 是否更新到关联的Datahub任务
|
6937
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6938
|
+
# @type IsUpdate: Boolean
|
6939
|
+
|
6940
|
+
attr_accessor :Resource, :Port, :ServiceVip, :UniqVpcId, :UserName, :Password, :SelfBuilt, :IsUpdate
|
6941
|
+
|
6942
|
+
def initialize(resource=nil, port=nil, servicevip=nil, uniqvpcid=nil, username=nil, password=nil, selfbuilt=nil, isupdate=nil)
|
6943
|
+
@Resource = resource
|
6944
|
+
@Port = port
|
6945
|
+
@ServiceVip = servicevip
|
6946
|
+
@UniqVpcId = uniqvpcid
|
6947
|
+
@UserName = username
|
6948
|
+
@Password = password
|
6949
|
+
@SelfBuilt = selfbuilt
|
6950
|
+
@IsUpdate = isupdate
|
6951
|
+
end
|
6952
|
+
|
6953
|
+
def deserialize(params)
|
6954
|
+
@Resource = params['Resource']
|
6955
|
+
@Port = params['Port']
|
6956
|
+
@ServiceVip = params['ServiceVip']
|
6957
|
+
@UniqVpcId = params['UniqVpcId']
|
6958
|
+
@UserName = params['UserName']
|
6959
|
+
@Password = params['Password']
|
6960
|
+
@SelfBuilt = params['SelfBuilt']
|
6961
|
+
@IsUpdate = params['IsUpdate']
|
6962
|
+
end
|
6963
|
+
end
|
6964
|
+
|
5618
6965
|
# MongoDB类型入参
|
5619
6966
|
class MongoDBParam < TencentCloud::Common::AbstractModel
|
5620
6967
|
# @param Database: MongoDB的数据库名称
|
@@ -5727,6 +7074,58 @@ module TencentCloud
|
|
5727
7074
|
end
|
5728
7075
|
end
|
5729
7076
|
|
7077
|
+
# MySQL修改连接源参数
|
7078
|
+
class MySQLModifyConnectParam < TencentCloud::Common::AbstractModel
|
7079
|
+
# @param Resource: MySQL连接源的实例资源【不支持修改】
|
7080
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7081
|
+
# @type Resource: String
|
7082
|
+
# @param Port: MySQL的连接port【不支持修改】
|
7083
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7084
|
+
# @type Port: Integer
|
7085
|
+
# @param ServiceVip: MySQL连接源的实例vip【不支持修改】
|
7086
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7087
|
+
# @type ServiceVip: String
|
7088
|
+
# @param UniqVpcId: MySQL连接源的vpcId【不支持修改】
|
7089
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7090
|
+
# @type UniqVpcId: String
|
7091
|
+
# @param UserName: MySQL连接源的用户名
|
7092
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7093
|
+
# @type UserName: String
|
7094
|
+
# @param Password: MySQL连接源的密码
|
7095
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7096
|
+
# @type Password: String
|
7097
|
+
# @param IsUpdate: 是否更新到关联的Datahub任务
|
7098
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7099
|
+
# @type IsUpdate: Boolean
|
7100
|
+
# @param ClusterId: 当type为TDSQL_C_MYSQL时
|
7101
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7102
|
+
# @type ClusterId: String
|
7103
|
+
|
7104
|
+
attr_accessor :Resource, :Port, :ServiceVip, :UniqVpcId, :UserName, :Password, :IsUpdate, :ClusterId
|
7105
|
+
|
7106
|
+
def initialize(resource=nil, port=nil, servicevip=nil, uniqvpcid=nil, username=nil, password=nil, isupdate=nil, clusterid=nil)
|
7107
|
+
@Resource = resource
|
7108
|
+
@Port = port
|
7109
|
+
@ServiceVip = servicevip
|
7110
|
+
@UniqVpcId = uniqvpcid
|
7111
|
+
@UserName = username
|
7112
|
+
@Password = password
|
7113
|
+
@IsUpdate = isupdate
|
7114
|
+
@ClusterId = clusterid
|
7115
|
+
end
|
7116
|
+
|
7117
|
+
def deserialize(params)
|
7118
|
+
@Resource = params['Resource']
|
7119
|
+
@Port = params['Port']
|
7120
|
+
@ServiceVip = params['ServiceVip']
|
7121
|
+
@UniqVpcId = params['UniqVpcId']
|
7122
|
+
@UserName = params['UserName']
|
7123
|
+
@Password = params['Password']
|
7124
|
+
@IsUpdate = params['IsUpdate']
|
7125
|
+
@ClusterId = params['ClusterId']
|
7126
|
+
end
|
7127
|
+
end
|
7128
|
+
|
5730
7129
|
# MySQL类型入参
|
5731
7130
|
class MySQLParam < TencentCloud::Common::AbstractModel
|
5732
7131
|
# @param Database: MySQL的数据库名称,"*"为全数据库
|
@@ -5925,6 +7324,58 @@ module TencentCloud
|
|
5925
7324
|
end
|
5926
7325
|
end
|
5927
7326
|
|
7327
|
+
# PostgreSQL修改连接源参数
|
7328
|
+
class PostgreSQLModifyConnectParam < TencentCloud::Common::AbstractModel
|
7329
|
+
# @param Resource: PostgreSQL连接源的实例资源【不支持修改】
|
7330
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7331
|
+
# @type Resource: String
|
7332
|
+
# @param Port: PostgreSQL的连接port【不支持修改】
|
7333
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7334
|
+
# @type Port: Integer
|
7335
|
+
# @param ServiceVip: PostgreSQL连接源的实例vip【不支持修改】
|
7336
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7337
|
+
# @type ServiceVip: String
|
7338
|
+
# @param UniqVpcId: PostgreSQL连接源的vpcId【不支持修改】
|
7339
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7340
|
+
# @type UniqVpcId: String
|
7341
|
+
# @param UserName: PostgreSQL连接源的用户名
|
7342
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7343
|
+
# @type UserName: String
|
7344
|
+
# @param Password: PostgreSQL连接源的密码
|
7345
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7346
|
+
# @type Password: String
|
7347
|
+
# @param ClusterId: 当type为TDSQL_C_POSTGRESQL时,该参数才有值【不支持修改】
|
7348
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7349
|
+
# @type ClusterId: String
|
7350
|
+
# @param IsUpdate: 是否更新到关联的Datahub任务
|
7351
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7352
|
+
# @type IsUpdate: Boolean
|
7353
|
+
|
7354
|
+
attr_accessor :Resource, :Port, :ServiceVip, :UniqVpcId, :UserName, :Password, :ClusterId, :IsUpdate
|
7355
|
+
|
7356
|
+
def initialize(resource=nil, port=nil, servicevip=nil, uniqvpcid=nil, username=nil, password=nil, clusterid=nil, isupdate=nil)
|
7357
|
+
@Resource = resource
|
7358
|
+
@Port = port
|
7359
|
+
@ServiceVip = servicevip
|
7360
|
+
@UniqVpcId = uniqvpcid
|
7361
|
+
@UserName = username
|
7362
|
+
@Password = password
|
7363
|
+
@ClusterId = clusterid
|
7364
|
+
@IsUpdate = isupdate
|
7365
|
+
end
|
7366
|
+
|
7367
|
+
def deserialize(params)
|
7368
|
+
@Resource = params['Resource']
|
7369
|
+
@Port = params['Port']
|
7370
|
+
@ServiceVip = params['ServiceVip']
|
7371
|
+
@UniqVpcId = params['UniqVpcId']
|
7372
|
+
@UserName = params['UserName']
|
7373
|
+
@Password = params['Password']
|
7374
|
+
@ClusterId = params['ClusterId']
|
7375
|
+
@IsUpdate = params['IsUpdate']
|
7376
|
+
end
|
7377
|
+
end
|
7378
|
+
|
5928
7379
|
# PostgreSQL类型入参
|
5929
7380
|
class PostgreSQLParam < TencentCloud::Common::AbstractModel
|
5930
7381
|
# @param Database: PostgreSQL的数据库名称
|
@@ -6313,6 +7764,53 @@ module TencentCloud
|
|
6313
7764
|
end
|
6314
7765
|
end
|
6315
7766
|
|
7767
|
+
# SQLServer修改连接源参数
|
7768
|
+
class SQLServerModifyConnectParam < TencentCloud::Common::AbstractModel
|
7769
|
+
# @param Resource: SQLServer连接源的实例资源【不支持修改】
|
7770
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7771
|
+
# @type Resource: String
|
7772
|
+
# @param Port: SQLServer的连接port【不支持修改】
|
7773
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7774
|
+
# @type Port: Integer
|
7775
|
+
# @param ServiceVip: SQLServer连接源的实例vip【不支持修改】
|
7776
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7777
|
+
# @type ServiceVip: String
|
7778
|
+
# @param UniqVpcId: SQLServer连接源的vpcId【不支持修改】
|
7779
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7780
|
+
# @type UniqVpcId: String
|
7781
|
+
# @param UserName: SQLServer连接源的用户名
|
7782
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7783
|
+
# @type UserName: String
|
7784
|
+
# @param Password: SQLServer连接源的密码
|
7785
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7786
|
+
# @type Password: String
|
7787
|
+
# @param IsUpdate: 是否更新到关联的Dip任务
|
7788
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7789
|
+
# @type IsUpdate: Boolean
|
7790
|
+
|
7791
|
+
attr_accessor :Resource, :Port, :ServiceVip, :UniqVpcId, :UserName, :Password, :IsUpdate
|
7792
|
+
|
7793
|
+
def initialize(resource=nil, port=nil, servicevip=nil, uniqvpcid=nil, username=nil, password=nil, isupdate=nil)
|
7794
|
+
@Resource = resource
|
7795
|
+
@Port = port
|
7796
|
+
@ServiceVip = servicevip
|
7797
|
+
@UniqVpcId = uniqvpcid
|
7798
|
+
@UserName = username
|
7799
|
+
@Password = password
|
7800
|
+
@IsUpdate = isupdate
|
7801
|
+
end
|
7802
|
+
|
7803
|
+
def deserialize(params)
|
7804
|
+
@Resource = params['Resource']
|
7805
|
+
@Port = params['Port']
|
7806
|
+
@ServiceVip = params['ServiceVip']
|
7807
|
+
@UniqVpcId = params['UniqVpcId']
|
7808
|
+
@UserName = params['UserName']
|
7809
|
+
@Password = params['Password']
|
7810
|
+
@IsUpdate = params['IsUpdate']
|
7811
|
+
end
|
7812
|
+
end
|
7813
|
+
|
6316
7814
|
# SQLServer类型入参
|
6317
7815
|
class SQLServerParam < TencentCloud::Common::AbstractModel
|
6318
7816
|
# @param Database: SQLServer的数据库名称
|
@@ -6520,17 +8018,21 @@ module TencentCloud
|
|
6520
8018
|
# @type Bid: String
|
6521
8019
|
# @param Tid: Tdw的tid
|
6522
8020
|
# @type Tid: String
|
8021
|
+
# @param IsDomestic: 是否为国内站,默认true
|
8022
|
+
# @type IsDomestic: Boolean
|
6523
8023
|
|
6524
|
-
attr_accessor :Bid, :Tid
|
8024
|
+
attr_accessor :Bid, :Tid, :IsDomestic
|
6525
8025
|
|
6526
|
-
def initialize(bid=nil, tid=nil)
|
8026
|
+
def initialize(bid=nil, tid=nil, isdomestic=nil)
|
6527
8027
|
@Bid = bid
|
6528
8028
|
@Tid = tid
|
8029
|
+
@IsDomestic = isdomestic
|
6529
8030
|
end
|
6530
8031
|
|
6531
8032
|
def deserialize(params)
|
6532
8033
|
@Bid = params['Bid']
|
6533
8034
|
@Tid = params['Tid']
|
8035
|
+
@IsDomestic = params['IsDomestic']
|
6534
8036
|
end
|
6535
8037
|
end
|
6536
8038
|
|