tencentcloud-sdk-cls 3.0.623 → 3.0.625
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/v20201016/client.rb +48 -0
- data/lib/v20201016/models.rb +145 -19
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6042ccbfc050f6c1223d86768cff1e01ac543f3b
|
4
|
+
data.tar.gz: a261c5443c5f440e42a1cb48603e70a4d836e373
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ccd9a292e0a4e5ac18214f62616730b4f012c19e66868d36e2e4b20bde4d23fe6bc6fdfad25e9bbf9705d363ac13df8d9d7b9c5e3ccb162a7ab68d320e37e15
|
7
|
+
data.tar.gz: ae5afec7baf47da5e830fdd7b1e74fb2a84f62735c9e2ad89d9993afa338ad018f4d694c79cf3ef6c1dd9c957f7d2fb11c6e6ff38a24512674a36cd70bae1e4d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.625
|
data/lib/v20201016/client.rb
CHANGED
@@ -1157,6 +1157,30 @@ module TencentCloud
|
|
1157
1157
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1158
1158
|
end
|
1159
1159
|
|
1160
|
+
# 获取Kafka协议消费信息
|
1161
|
+
|
1162
|
+
# @param request: Request instance for DescribeKafkaConsumer.
|
1163
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeKafkaConsumerRequest`
|
1164
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeKafkaConsumerResponse`
|
1165
|
+
def DescribeKafkaConsumer(request)
|
1166
|
+
body = send_request('DescribeKafkaConsumer', request.serialize)
|
1167
|
+
response = JSON.parse(body)
|
1168
|
+
if response['Response'].key?('Error') == false
|
1169
|
+
model = DescribeKafkaConsumerResponse.new
|
1170
|
+
model.deserialize(response['Response'])
|
1171
|
+
model
|
1172
|
+
else
|
1173
|
+
code = response['Response']['Error']['Code']
|
1174
|
+
message = response['Response']['Error']['Message']
|
1175
|
+
reqid = response['Response']['RequestId']
|
1176
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1177
|
+
end
|
1178
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1179
|
+
raise e
|
1180
|
+
rescue StandardError => e
|
1181
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1182
|
+
end
|
1183
|
+
|
1160
1184
|
# 本接口用于获取Kafka数据订阅任务
|
1161
1185
|
|
1162
1186
|
# @param request: Request instance for DescribeKafkaRecharges.
|
@@ -1685,6 +1709,30 @@ module TencentCloud
|
|
1685
1709
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1686
1710
|
end
|
1687
1711
|
|
1712
|
+
# 修改Kafka协议消费信息
|
1713
|
+
|
1714
|
+
# @param request: Request instance for ModifyKafkaConsumer.
|
1715
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::ModifyKafkaConsumerRequest`
|
1716
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::ModifyKafkaConsumerResponse`
|
1717
|
+
def ModifyKafkaConsumer(request)
|
1718
|
+
body = send_request('ModifyKafkaConsumer', request.serialize)
|
1719
|
+
response = JSON.parse(body)
|
1720
|
+
if response['Response'].key?('Error') == false
|
1721
|
+
model = ModifyKafkaConsumerResponse.new
|
1722
|
+
model.deserialize(response['Response'])
|
1723
|
+
model
|
1724
|
+
else
|
1725
|
+
code = response['Response']['Error']['Code']
|
1726
|
+
message = response['Response']['Error']['Message']
|
1727
|
+
reqid = response['Response']['RequestId']
|
1728
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1729
|
+
end
|
1730
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1731
|
+
raise e
|
1732
|
+
rescue StandardError => e
|
1733
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1734
|
+
end
|
1735
|
+
|
1688
1736
|
# 本接口用于修改Kafka数据订阅任务
|
1689
1737
|
|
1690
1738
|
# @param request: Request instance for ModifyKafkaRecharge.
|
data/lib/v20201016/models.rb
CHANGED
@@ -620,7 +620,7 @@ module TencentCloud
|
|
620
620
|
|
621
621
|
# CloseKafkaConsumer请求参数结构体
|
622
622
|
class CloseKafkaConsumerRequest < TencentCloud::Common::AbstractModel
|
623
|
-
# @param FromTopicId:
|
623
|
+
# @param FromTopicId: 日志主题ID
|
624
624
|
# @type FromTopicId: String
|
625
625
|
|
626
626
|
attr_accessor :FromTopicId
|
@@ -738,10 +738,17 @@ module TencentCloud
|
|
738
738
|
# @param TopicName: 日志主题name
|
739
739
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
740
740
|
# @type TopicName: String
|
741
|
+
# @param AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
742
|
+
# - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
743
|
+
# - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
744
|
+
# - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
745
|
+
# 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
|
746
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
747
|
+
# @type AdvancedConfig: String
|
741
748
|
|
742
|
-
attr_accessor :ConfigExtraId, :Name, :TopicId, :Type, :HostFile, :ContainerFile, :ContainerStdout, :LogFormat, :LogType, :ExtractRule, :ExcludePaths, :UpdateTime, :CreateTime, :UserDefineRule, :GroupId, :ConfigFlag, :LogsetId, :LogsetName, :TopicName
|
749
|
+
attr_accessor :ConfigExtraId, :Name, :TopicId, :Type, :HostFile, :ContainerFile, :ContainerStdout, :LogFormat, :LogType, :ExtractRule, :ExcludePaths, :UpdateTime, :CreateTime, :UserDefineRule, :GroupId, :ConfigFlag, :LogsetId, :LogsetName, :TopicName, :AdvancedConfig
|
743
750
|
|
744
|
-
def initialize(configextraid=nil, name=nil, topicid=nil, type=nil, hostfile=nil, containerfile=nil, containerstdout=nil, logformat=nil, logtype=nil, extractrule=nil, excludepaths=nil, updatetime=nil, createtime=nil, userdefinerule=nil, groupid=nil, configflag=nil, logsetid=nil, logsetname=nil, topicname=nil)
|
751
|
+
def initialize(configextraid=nil, name=nil, topicid=nil, type=nil, hostfile=nil, containerfile=nil, containerstdout=nil, logformat=nil, logtype=nil, extractrule=nil, excludepaths=nil, updatetime=nil, createtime=nil, userdefinerule=nil, groupid=nil, configflag=nil, logsetid=nil, logsetname=nil, topicname=nil, advancedconfig=nil)
|
745
752
|
@ConfigExtraId = configextraid
|
746
753
|
@Name = name
|
747
754
|
@TopicId = topicid
|
@@ -761,6 +768,7 @@ module TencentCloud
|
|
761
768
|
@LogsetId = logsetid
|
762
769
|
@LogsetName = logsetname
|
763
770
|
@TopicName = topicname
|
771
|
+
@AdvancedConfig = advancedconfig
|
764
772
|
end
|
765
773
|
|
766
774
|
def deserialize(params)
|
@@ -802,6 +810,7 @@ module TencentCloud
|
|
802
810
|
@LogsetId = params['LogsetId']
|
803
811
|
@LogsetName = params['LogsetName']
|
804
812
|
@TopicName = params['TopicName']
|
813
|
+
@AdvancedConfig = params['AdvancedConfig']
|
805
814
|
end
|
806
815
|
end
|
807
816
|
|
@@ -837,10 +846,17 @@ module TencentCloud
|
|
837
846
|
# @param UserDefineRule: 用户自定义解析字符串
|
838
847
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
839
848
|
# @type UserDefineRule: String
|
849
|
+
# @param AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
850
|
+
# - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
851
|
+
# - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
852
|
+
# - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
853
|
+
# 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
|
854
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
855
|
+
# @type AdvancedConfig: String
|
840
856
|
|
841
|
-
attr_accessor :ConfigId, :Name, :LogFormat, :Path, :LogType, :ExtractRule, :ExcludePaths, :Output, :UpdateTime, :CreateTime, :UserDefineRule
|
857
|
+
attr_accessor :ConfigId, :Name, :LogFormat, :Path, :LogType, :ExtractRule, :ExcludePaths, :Output, :UpdateTime, :CreateTime, :UserDefineRule, :AdvancedConfig
|
842
858
|
|
843
|
-
def initialize(configid=nil, name=nil, logformat=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, output=nil, updatetime=nil, createtime=nil, userdefinerule=nil)
|
859
|
+
def initialize(configid=nil, name=nil, logformat=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, output=nil, updatetime=nil, createtime=nil, userdefinerule=nil, advancedconfig=nil)
|
844
860
|
@ConfigId = configid
|
845
861
|
@Name = name
|
846
862
|
@LogFormat = logformat
|
@@ -852,6 +868,7 @@ module TencentCloud
|
|
852
868
|
@UpdateTime = updatetime
|
853
869
|
@CreateTime = createtime
|
854
870
|
@UserDefineRule = userdefinerule
|
871
|
+
@AdvancedConfig = advancedconfig
|
855
872
|
end
|
856
873
|
|
857
874
|
def deserialize(params)
|
@@ -876,6 +893,7 @@ module TencentCloud
|
|
876
893
|
@UpdateTime = params['UpdateTime']
|
877
894
|
@CreateTime = params['CreateTime']
|
878
895
|
@UserDefineRule = params['UserDefineRule']
|
896
|
+
@AdvancedConfig = params['AdvancedConfig']
|
879
897
|
end
|
880
898
|
end
|
881
899
|
|
@@ -1373,10 +1391,16 @@ module TencentCloud
|
|
1373
1391
|
# @type GroupId: String
|
1374
1392
|
# @param GroupIds: 绑定的机器组id列表
|
1375
1393
|
# @type GroupIds: Array
|
1394
|
+
# @param AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
1395
|
+
# - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
1396
|
+
# - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
1397
|
+
# - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
1398
|
+
# 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
|
1399
|
+
# @type AdvancedConfig: String
|
1376
1400
|
|
1377
|
-
attr_accessor :Name, :TopicId, :Type, :LogType, :ConfigFlag, :LogsetId, :LogsetName, :TopicName, :HostFile, :ContainerFile, :ContainerStdout, :LogFormat, :ExtractRule, :ExcludePaths, :UserDefineRule, :GroupId, :GroupIds
|
1401
|
+
attr_accessor :Name, :TopicId, :Type, :LogType, :ConfigFlag, :LogsetId, :LogsetName, :TopicName, :HostFile, :ContainerFile, :ContainerStdout, :LogFormat, :ExtractRule, :ExcludePaths, :UserDefineRule, :GroupId, :GroupIds, :AdvancedConfig
|
1378
1402
|
|
1379
|
-
def initialize(name=nil, topicid=nil, type=nil, logtype=nil, configflag=nil, logsetid=nil, logsetname=nil, topicname=nil, hostfile=nil, containerfile=nil, containerstdout=nil, logformat=nil, extractrule=nil, excludepaths=nil, userdefinerule=nil, groupid=nil, groupids=nil)
|
1403
|
+
def initialize(name=nil, topicid=nil, type=nil, logtype=nil, configflag=nil, logsetid=nil, logsetname=nil, topicname=nil, hostfile=nil, containerfile=nil, containerstdout=nil, logformat=nil, extractrule=nil, excludepaths=nil, userdefinerule=nil, groupid=nil, groupids=nil, advancedconfig=nil)
|
1380
1404
|
@Name = name
|
1381
1405
|
@TopicId = topicid
|
1382
1406
|
@Type = type
|
@@ -1394,6 +1418,7 @@ module TencentCloud
|
|
1394
1418
|
@UserDefineRule = userdefinerule
|
1395
1419
|
@GroupId = groupid
|
1396
1420
|
@GroupIds = groupids
|
1421
|
+
@AdvancedConfig = advancedconfig
|
1397
1422
|
end
|
1398
1423
|
|
1399
1424
|
def deserialize(params)
|
@@ -1433,6 +1458,7 @@ module TencentCloud
|
|
1433
1458
|
@UserDefineRule = params['UserDefineRule']
|
1434
1459
|
@GroupId = params['GroupId']
|
1435
1460
|
@GroupIds = params['GroupIds']
|
1461
|
+
@AdvancedConfig = params['AdvancedConfig']
|
1436
1462
|
end
|
1437
1463
|
end
|
1438
1464
|
|
@@ -1472,7 +1498,11 @@ module TencentCloud
|
|
1472
1498
|
# @type ExcludePaths: Array
|
1473
1499
|
# @param UserDefineRule: 用户自定义采集规则,Json格式序列化的字符串
|
1474
1500
|
# @type UserDefineRule: String
|
1475
|
-
# @param AdvancedConfig:
|
1501
|
+
# @param AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
1502
|
+
# - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
1503
|
+
# - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
1504
|
+
# - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
1505
|
+
# 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
|
1476
1506
|
# @type AdvancedConfig: String
|
1477
1507
|
|
1478
1508
|
attr_accessor :Name, :Output, :Path, :LogType, :ExtractRule, :ExcludePaths, :UserDefineRule, :AdvancedConfig
|
@@ -2067,7 +2097,7 @@ module TencentCloud
|
|
2067
2097
|
# @type SrcTopicId: String
|
2068
2098
|
# @param Name: 任务名称
|
2069
2099
|
# @type Name: String
|
2070
|
-
# @param EnableFlag: 任务启动状态. 1
|
2100
|
+
# @param EnableFlag: 任务启动状态. 1开启, 2关闭
|
2071
2101
|
# @type EnableFlag: Integer
|
2072
2102
|
# @param DstResource: 定时SQL分析目标日志主题
|
2073
2103
|
# @type DstResource: :class:`Tencentcloud::Cls.v20201016.models.ScheduledSqlResouceInfo`
|
@@ -2075,7 +2105,7 @@ module TencentCloud
|
|
2075
2105
|
# @type ScheduledSqlContent: String
|
2076
2106
|
# @param ProcessStartTime: 调度开始时间,Unix时间戳,单位ms
|
2077
2107
|
# @type ProcessStartTime: Integer
|
2078
|
-
# @param ProcessType: 调度类型,1:持续运行 2
|
2108
|
+
# @param ProcessType: 调度类型,1:持续运行 2:指定时间范围
|
2079
2109
|
# @type ProcessType: Integer
|
2080
2110
|
# @param ProcessPeriod: 调度周期(分钟)
|
2081
2111
|
# @type ProcessPeriod: Integer
|
@@ -2087,7 +2117,7 @@ module TencentCloud
|
|
2087
2117
|
# @type SrcTopicRegion: String
|
2088
2118
|
# @param ProcessEndTime: 调度结束时间,当ProcessType=2时为必传字段, Unix时间戳,单位ms
|
2089
2119
|
# @type ProcessEndTime: Integer
|
2090
|
-
# @param SyntaxRule:
|
2120
|
+
# @param SyntaxRule: 查询语法规则。 默认值为0。0:Lucene语法,1:CQL语法
|
2091
2121
|
# @type SyntaxRule: Integer
|
2092
2122
|
|
2093
2123
|
attr_accessor :SrcTopicId, :Name, :EnableFlag, :DstResource, :ScheduledSqlContent, :ProcessStartTime, :ProcessType, :ProcessPeriod, :ProcessTimeWindow, :ProcessDelay, :SrcTopicRegion, :ProcessEndTime, :SyntaxRule
|
@@ -3941,6 +3971,50 @@ module TencentCloud
|
|
3941
3971
|
end
|
3942
3972
|
end
|
3943
3973
|
|
3974
|
+
# DescribeKafkaConsumer请求参数结构体
|
3975
|
+
class DescribeKafkaConsumerRequest < TencentCloud::Common::AbstractModel
|
3976
|
+
# @param FromTopicId: 日志主题ID
|
3977
|
+
# @type FromTopicId: String
|
3978
|
+
|
3979
|
+
attr_accessor :FromTopicId
|
3980
|
+
|
3981
|
+
def initialize(fromtopicid=nil)
|
3982
|
+
@FromTopicId = fromtopicid
|
3983
|
+
end
|
3984
|
+
|
3985
|
+
def deserialize(params)
|
3986
|
+
@FromTopicId = params['FromTopicId']
|
3987
|
+
end
|
3988
|
+
end
|
3989
|
+
|
3990
|
+
# DescribeKafkaConsumer返回参数结构体
|
3991
|
+
class DescribeKafkaConsumerResponse < TencentCloud::Common::AbstractModel
|
3992
|
+
# @param Status: Kafka协议消费是否打开
|
3993
|
+
# @type Status: Boolean
|
3994
|
+
# @param TopicID: KafkaConsumer 消费时使用的Topic参数
|
3995
|
+
# @type TopicID: String
|
3996
|
+
# @param Compression: 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
|
3997
|
+
# @type Compression: Integer
|
3998
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3999
|
+
# @type RequestId: String
|
4000
|
+
|
4001
|
+
attr_accessor :Status, :TopicID, :Compression, :RequestId
|
4002
|
+
|
4003
|
+
def initialize(status=nil, topicid=nil, compression=nil, requestid=nil)
|
4004
|
+
@Status = status
|
4005
|
+
@TopicID = topicid
|
4006
|
+
@Compression = compression
|
4007
|
+
@RequestId = requestid
|
4008
|
+
end
|
4009
|
+
|
4010
|
+
def deserialize(params)
|
4011
|
+
@Status = params['Status']
|
4012
|
+
@TopicID = params['TopicID']
|
4013
|
+
@Compression = params['Compression']
|
4014
|
+
@RequestId = params['RequestId']
|
4015
|
+
end
|
4016
|
+
end
|
4017
|
+
|
3944
4018
|
# DescribeKafkaRecharges请求参数结构体
|
3945
4019
|
class DescribeKafkaRechargesRequest < TencentCloud::Common::AbstractModel
|
3946
4020
|
# @param TopicId: 日志主题 ID
|
@@ -6103,10 +6177,16 @@ module TencentCloud
|
|
6103
6177
|
# @type LogsetName: String
|
6104
6178
|
# @param TopicName: 日志主题name
|
6105
6179
|
# @type TopicName: String
|
6180
|
+
# @param AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
6181
|
+
# - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
6182
|
+
# - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
6183
|
+
# - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
6184
|
+
# 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
|
6185
|
+
# @type AdvancedConfig: String
|
6106
6186
|
|
6107
|
-
attr_accessor :ConfigExtraId, :Name, :TopicId, :HostFile, :ContainerFile, :ContainerStdout, :LogType, :LogFormat, :ExtractRule, :ExcludePaths, :UserDefineRule, :Type, :GroupId, :ConfigFlag, :LogsetId, :LogsetName, :TopicName
|
6187
|
+
attr_accessor :ConfigExtraId, :Name, :TopicId, :HostFile, :ContainerFile, :ContainerStdout, :LogType, :LogFormat, :ExtractRule, :ExcludePaths, :UserDefineRule, :Type, :GroupId, :ConfigFlag, :LogsetId, :LogsetName, :TopicName, :AdvancedConfig
|
6108
6188
|
|
6109
|
-
def initialize(configextraid=nil, name=nil, topicid=nil, hostfile=nil, containerfile=nil, containerstdout=nil, logtype=nil, logformat=nil, extractrule=nil, excludepaths=nil, userdefinerule=nil, type=nil, groupid=nil, configflag=nil, logsetid=nil, logsetname=nil, topicname=nil)
|
6189
|
+
def initialize(configextraid=nil, name=nil, topicid=nil, hostfile=nil, containerfile=nil, containerstdout=nil, logtype=nil, logformat=nil, extractrule=nil, excludepaths=nil, userdefinerule=nil, type=nil, groupid=nil, configflag=nil, logsetid=nil, logsetname=nil, topicname=nil, advancedconfig=nil)
|
6110
6190
|
@ConfigExtraId = configextraid
|
6111
6191
|
@Name = name
|
6112
6192
|
@TopicId = topicid
|
@@ -6124,6 +6204,7 @@ module TencentCloud
|
|
6124
6204
|
@LogsetId = logsetid
|
6125
6205
|
@LogsetName = logsetname
|
6126
6206
|
@TopicName = topicname
|
6207
|
+
@AdvancedConfig = advancedconfig
|
6127
6208
|
end
|
6128
6209
|
|
6129
6210
|
def deserialize(params)
|
@@ -6163,6 +6244,7 @@ module TencentCloud
|
|
6163
6244
|
@LogsetId = params['LogsetId']
|
6164
6245
|
@LogsetName = params['LogsetName']
|
6165
6246
|
@TopicName = params['TopicName']
|
6247
|
+
@AdvancedConfig = params['AdvancedConfig']
|
6166
6248
|
end
|
6167
6249
|
end
|
6168
6250
|
|
@@ -6200,10 +6282,16 @@ module TencentCloud
|
|
6200
6282
|
# @type Output: String
|
6201
6283
|
# @param UserDefineRule: 用户自定义解析字符串,Json格式序列化的字符串
|
6202
6284
|
# @type UserDefineRule: String
|
6285
|
+
# @param AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
6286
|
+
# - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
6287
|
+
# - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
6288
|
+
# - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
6289
|
+
# 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
|
6290
|
+
# @type AdvancedConfig: String
|
6203
6291
|
|
6204
|
-
attr_accessor :ConfigId, :Name, :Path, :LogType, :ExtractRule, :ExcludePaths, :Output, :UserDefineRule
|
6292
|
+
attr_accessor :ConfigId, :Name, :Path, :LogType, :ExtractRule, :ExcludePaths, :Output, :UserDefineRule, :AdvancedConfig
|
6205
6293
|
|
6206
|
-
def initialize(configid=nil, name=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, output=nil, userdefinerule=nil)
|
6294
|
+
def initialize(configid=nil, name=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, output=nil, userdefinerule=nil, advancedconfig=nil)
|
6207
6295
|
@ConfigId = configid
|
6208
6296
|
@Name = name
|
6209
6297
|
@Path = path
|
@@ -6212,6 +6300,7 @@ module TencentCloud
|
|
6212
6300
|
@ExcludePaths = excludepaths
|
6213
6301
|
@Output = output
|
6214
6302
|
@UserDefineRule = userdefinerule
|
6303
|
+
@AdvancedConfig = advancedconfig
|
6215
6304
|
end
|
6216
6305
|
|
6217
6306
|
def deserialize(params)
|
@@ -6233,6 +6322,7 @@ module TencentCloud
|
|
6233
6322
|
end
|
6234
6323
|
@Output = params['Output']
|
6235
6324
|
@UserDefineRule = params['UserDefineRule']
|
6325
|
+
@AdvancedConfig = params['AdvancedConfig']
|
6236
6326
|
end
|
6237
6327
|
end
|
6238
6328
|
|
@@ -6465,6 +6555,42 @@ module TencentCloud
|
|
6465
6555
|
end
|
6466
6556
|
end
|
6467
6557
|
|
6558
|
+
# ModifyKafkaConsumer请求参数结构体
|
6559
|
+
class ModifyKafkaConsumerRequest < TencentCloud::Common::AbstractModel
|
6560
|
+
# @param FromTopicId: 日志主题ID
|
6561
|
+
# @type FromTopicId: String
|
6562
|
+
# @param Compression: 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
|
6563
|
+
# @type Compression: Integer
|
6564
|
+
|
6565
|
+
attr_accessor :FromTopicId, :Compression
|
6566
|
+
|
6567
|
+
def initialize(fromtopicid=nil, compression=nil)
|
6568
|
+
@FromTopicId = fromtopicid
|
6569
|
+
@Compression = compression
|
6570
|
+
end
|
6571
|
+
|
6572
|
+
def deserialize(params)
|
6573
|
+
@FromTopicId = params['FromTopicId']
|
6574
|
+
@Compression = params['Compression']
|
6575
|
+
end
|
6576
|
+
end
|
6577
|
+
|
6578
|
+
# ModifyKafkaConsumer返回参数结构体
|
6579
|
+
class ModifyKafkaConsumerResponse < TencentCloud::Common::AbstractModel
|
6580
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6581
|
+
# @type RequestId: String
|
6582
|
+
|
6583
|
+
attr_accessor :RequestId
|
6584
|
+
|
6585
|
+
def initialize(requestid=nil)
|
6586
|
+
@RequestId = requestid
|
6587
|
+
end
|
6588
|
+
|
6589
|
+
def deserialize(params)
|
6590
|
+
@RequestId = params['RequestId']
|
6591
|
+
end
|
6592
|
+
end
|
6593
|
+
|
6468
6594
|
# ModifyKafkaRecharge请求参数结构体
|
6469
6595
|
class ModifyKafkaRechargeRequest < TencentCloud::Common::AbstractModel
|
6470
6596
|
# @param Id: Kafka导入配置ID
|
@@ -6681,7 +6807,7 @@ module TencentCloud
|
|
6681
6807
|
# @type TaskId: String
|
6682
6808
|
# @param SrcTopicId: 源日志主题
|
6683
6809
|
# @type SrcTopicId: String
|
6684
|
-
# @param EnableFlag: 任务启动状态. 1
|
6810
|
+
# @param EnableFlag: 任务启动状态. 1开启, 2关闭
|
6685
6811
|
# @type EnableFlag: Integer
|
6686
6812
|
# @param DstResource: 定时SQL分析的目标日志主题
|
6687
6813
|
# @type DstResource: :class:`Tencentcloud::Cls.v20201016.models.ScheduledSqlResouceInfo`
|
@@ -7002,7 +7128,7 @@ module TencentCloud
|
|
7002
7128
|
|
7003
7129
|
# OpenKafkaConsumer请求参数结构体
|
7004
7130
|
class OpenKafkaConsumerRequest < TencentCloud::Common::AbstractModel
|
7005
|
-
# @param FromTopicId:
|
7131
|
+
# @param FromTopicId: 日志主题ID
|
7006
7132
|
# @type FromTopicId: String
|
7007
7133
|
# @param Compression: 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
|
7008
7134
|
# @type Compression: Integer
|
@@ -7029,7 +7155,7 @@ module TencentCloud
|
|
7029
7155
|
|
7030
7156
|
# OpenKafkaConsumer返回参数结构体
|
7031
7157
|
class OpenKafkaConsumerResponse < TencentCloud::Common::AbstractModel
|
7032
|
-
# @param TopicID:
|
7158
|
+
# @param TopicID: KafkaConsumer 消费时使用的Topic参数
|
7033
7159
|
# @type TopicID: String
|
7034
7160
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7035
7161
|
# @type RequestId: String
|
@@ -7442,7 +7568,7 @@ module TencentCloud
|
|
7442
7568
|
# @type ScheduledSqlContent: String
|
7443
7569
|
# @param ProcessStartTime: 调度开始时间
|
7444
7570
|
# @type ProcessStartTime: String
|
7445
|
-
# @param ProcessType: 调度类型,1:持续运行 2
|
7571
|
+
# @param ProcessType: 调度类型,1:持续运行 2:指定时间范围
|
7446
7572
|
# @type ProcessType: Integer
|
7447
7573
|
# @param ProcessEndTime: 调度结束时间,当process_type=2时为必传字段
|
7448
7574
|
# @type ProcessEndTime: String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.625
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|