tencentcloud-sdk-cls 3.0.624 → 3.0.626
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201016/client.rb +72 -0
- data/lib/v20201016/models.rb +176 -14
- 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: d8c81e9b058cca1ca96251f7c56189c65e58049d
|
4
|
+
data.tar.gz: 68c51eab3734c2c4e7329975484347b32abe51a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 181524052b7c866fcab59d6e83a8140082fcf9beabeabd2ebff4233173e0311a77428a3f4be29571f4873bb372f40dbe47bb1317ca0a4e1d22c2156dc317eb6f
|
7
|
+
data.tar.gz: 4b1b44c629e15323a4c4a1db9a27553bf90a5b709dc31807970ca35980dd0ad5d5c01ef532bff0b7be2828fd3b01abff09f0e0f79588a1ca2ec81b42846251f6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.626
|
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.
|
@@ -1181,6 +1205,30 @@ module TencentCloud
|
|
1181
1205
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1182
1206
|
end
|
1183
1207
|
|
1208
|
+
# 本接口用于获取kafka用户信息
|
1209
|
+
|
1210
|
+
# @param request: Request instance for DescribeKafkaUser.
|
1211
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeKafkaUserRequest`
|
1212
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeKafkaUserResponse`
|
1213
|
+
def DescribeKafkaUser(request)
|
1214
|
+
body = send_request('DescribeKafkaUser', request.serialize)
|
1215
|
+
response = JSON.parse(body)
|
1216
|
+
if response['Response'].key?('Error') == false
|
1217
|
+
model = DescribeKafkaUserResponse.new
|
1218
|
+
model.deserialize(response['Response'])
|
1219
|
+
model
|
1220
|
+
else
|
1221
|
+
code = response['Response']['Error']['Code']
|
1222
|
+
message = response['Response']['Error']['Message']
|
1223
|
+
reqid = response['Response']['RequestId']
|
1224
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1225
|
+
end
|
1226
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1227
|
+
raise e
|
1228
|
+
rescue StandardError => e
|
1229
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1230
|
+
end
|
1231
|
+
|
1184
1232
|
# 本接口用于搜索日志上下文附近的内容
|
1185
1233
|
|
1186
1234
|
# @param request: Request instance for DescribeLogContext.
|
@@ -1685,6 +1733,30 @@ module TencentCloud
|
|
1685
1733
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1686
1734
|
end
|
1687
1735
|
|
1736
|
+
# 修改Kafka协议消费信息
|
1737
|
+
|
1738
|
+
# @param request: Request instance for ModifyKafkaConsumer.
|
1739
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::ModifyKafkaConsumerRequest`
|
1740
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::ModifyKafkaConsumerResponse`
|
1741
|
+
def ModifyKafkaConsumer(request)
|
1742
|
+
body = send_request('ModifyKafkaConsumer', request.serialize)
|
1743
|
+
response = JSON.parse(body)
|
1744
|
+
if response['Response'].key?('Error') == false
|
1745
|
+
model = ModifyKafkaConsumerResponse.new
|
1746
|
+
model.deserialize(response['Response'])
|
1747
|
+
model
|
1748
|
+
else
|
1749
|
+
code = response['Response']['Error']['Code']
|
1750
|
+
message = response['Response']['Error']['Message']
|
1751
|
+
reqid = response['Response']['RequestId']
|
1752
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1753
|
+
end
|
1754
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1755
|
+
raise e
|
1756
|
+
rescue StandardError => e
|
1757
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1758
|
+
end
|
1759
|
+
|
1688
1760
|
# 本接口用于修改Kafka数据订阅任务
|
1689
1761
|
|
1690
1762
|
# @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
|
@@ -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
|
@@ -3996,6 +4070,42 @@ module TencentCloud
|
|
3996
4070
|
end
|
3997
4071
|
end
|
3998
4072
|
|
4073
|
+
# DescribeKafkaUser请求参数结构体
|
4074
|
+
class DescribeKafkaUserRequest < TencentCloud::Common::AbstractModel
|
4075
|
+
# @param UserName: kafka消费用户名
|
4076
|
+
# @type UserName: String
|
4077
|
+
|
4078
|
+
attr_accessor :UserName
|
4079
|
+
|
4080
|
+
def initialize(username=nil)
|
4081
|
+
@UserName = username
|
4082
|
+
end
|
4083
|
+
|
4084
|
+
def deserialize(params)
|
4085
|
+
@UserName = params['UserName']
|
4086
|
+
end
|
4087
|
+
end
|
4088
|
+
|
4089
|
+
# DescribeKafkaUser返回参数结构体
|
4090
|
+
class DescribeKafkaUserResponse < TencentCloud::Common::AbstractModel
|
4091
|
+
# @param UserName: kafka消费用户名
|
4092
|
+
# @type UserName: String
|
4093
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4094
|
+
# @type RequestId: String
|
4095
|
+
|
4096
|
+
attr_accessor :UserName, :RequestId
|
4097
|
+
|
4098
|
+
def initialize(username=nil, requestid=nil)
|
4099
|
+
@UserName = username
|
4100
|
+
@RequestId = requestid
|
4101
|
+
end
|
4102
|
+
|
4103
|
+
def deserialize(params)
|
4104
|
+
@UserName = params['UserName']
|
4105
|
+
@RequestId = params['RequestId']
|
4106
|
+
end
|
4107
|
+
end
|
4108
|
+
|
3999
4109
|
# DescribeLogContext请求参数结构体
|
4000
4110
|
class DescribeLogContextRequest < TencentCloud::Common::AbstractModel
|
4001
4111
|
# @param TopicId: 要查询的日志主题ID
|
@@ -6103,10 +6213,16 @@ module TencentCloud
|
|
6103
6213
|
# @type LogsetName: String
|
6104
6214
|
# @param TopicName: 日志主题name
|
6105
6215
|
# @type TopicName: String
|
6216
|
+
# @param AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
6217
|
+
# - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
6218
|
+
# - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
6219
|
+
# - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
6220
|
+
# 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
|
6221
|
+
# @type AdvancedConfig: String
|
6106
6222
|
|
6107
|
-
attr_accessor :ConfigExtraId, :Name, :TopicId, :HostFile, :ContainerFile, :ContainerStdout, :LogType, :LogFormat, :ExtractRule, :ExcludePaths, :UserDefineRule, :Type, :GroupId, :ConfigFlag, :LogsetId, :LogsetName, :TopicName
|
6223
|
+
attr_accessor :ConfigExtraId, :Name, :TopicId, :HostFile, :ContainerFile, :ContainerStdout, :LogType, :LogFormat, :ExtractRule, :ExcludePaths, :UserDefineRule, :Type, :GroupId, :ConfigFlag, :LogsetId, :LogsetName, :TopicName, :AdvancedConfig
|
6108
6224
|
|
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)
|
6225
|
+
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
6226
|
@ConfigExtraId = configextraid
|
6111
6227
|
@Name = name
|
6112
6228
|
@TopicId = topicid
|
@@ -6124,6 +6240,7 @@ module TencentCloud
|
|
6124
6240
|
@LogsetId = logsetid
|
6125
6241
|
@LogsetName = logsetname
|
6126
6242
|
@TopicName = topicname
|
6243
|
+
@AdvancedConfig = advancedconfig
|
6127
6244
|
end
|
6128
6245
|
|
6129
6246
|
def deserialize(params)
|
@@ -6163,6 +6280,7 @@ module TencentCloud
|
|
6163
6280
|
@LogsetId = params['LogsetId']
|
6164
6281
|
@LogsetName = params['LogsetName']
|
6165
6282
|
@TopicName = params['TopicName']
|
6283
|
+
@AdvancedConfig = params['AdvancedConfig']
|
6166
6284
|
end
|
6167
6285
|
end
|
6168
6286
|
|
@@ -6200,10 +6318,16 @@ module TencentCloud
|
|
6200
6318
|
# @type Output: String
|
6201
6319
|
# @param UserDefineRule: 用户自定义解析字符串,Json格式序列化的字符串
|
6202
6320
|
# @type UserDefineRule: String
|
6321
|
+
# @param AdvancedConfig: 高级采集配置。 Json字符串, Key/Value定义为如下:
|
6322
|
+
# - ClsAgentFileTimeout(超时属性), 取值范围: 大于等于0的整数, 0为不超时
|
6323
|
+
# - ClsAgentMaxDepth(最大目录深度),取值范围: 大于等于0的整数
|
6324
|
+
# - ClsAgentParseFailMerge(合并解析失败日志),取值范围: true或false
|
6325
|
+
# 样例:{"ClsAgentFileTimeout":0,"ClsAgentMaxDepth":10,"ClsAgentParseFailMerge":true}
|
6326
|
+
# @type AdvancedConfig: String
|
6203
6327
|
|
6204
|
-
attr_accessor :ConfigId, :Name, :Path, :LogType, :ExtractRule, :ExcludePaths, :Output, :UserDefineRule
|
6328
|
+
attr_accessor :ConfigId, :Name, :Path, :LogType, :ExtractRule, :ExcludePaths, :Output, :UserDefineRule, :AdvancedConfig
|
6205
6329
|
|
6206
|
-
def initialize(configid=nil, name=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, output=nil, userdefinerule=nil)
|
6330
|
+
def initialize(configid=nil, name=nil, path=nil, logtype=nil, extractrule=nil, excludepaths=nil, output=nil, userdefinerule=nil, advancedconfig=nil)
|
6207
6331
|
@ConfigId = configid
|
6208
6332
|
@Name = name
|
6209
6333
|
@Path = path
|
@@ -6212,6 +6336,7 @@ module TencentCloud
|
|
6212
6336
|
@ExcludePaths = excludepaths
|
6213
6337
|
@Output = output
|
6214
6338
|
@UserDefineRule = userdefinerule
|
6339
|
+
@AdvancedConfig = advancedconfig
|
6215
6340
|
end
|
6216
6341
|
|
6217
6342
|
def deserialize(params)
|
@@ -6233,6 +6358,7 @@ module TencentCloud
|
|
6233
6358
|
end
|
6234
6359
|
@Output = params['Output']
|
6235
6360
|
@UserDefineRule = params['UserDefineRule']
|
6361
|
+
@AdvancedConfig = params['AdvancedConfig']
|
6236
6362
|
end
|
6237
6363
|
end
|
6238
6364
|
|
@@ -6465,6 +6591,42 @@ module TencentCloud
|
|
6465
6591
|
end
|
6466
6592
|
end
|
6467
6593
|
|
6594
|
+
# ModifyKafkaConsumer请求参数结构体
|
6595
|
+
class ModifyKafkaConsumerRequest < TencentCloud::Common::AbstractModel
|
6596
|
+
# @param FromTopicId: 日志主题ID
|
6597
|
+
# @type FromTopicId: String
|
6598
|
+
# @param Compression: 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
|
6599
|
+
# @type Compression: Integer
|
6600
|
+
|
6601
|
+
attr_accessor :FromTopicId, :Compression
|
6602
|
+
|
6603
|
+
def initialize(fromtopicid=nil, compression=nil)
|
6604
|
+
@FromTopicId = fromtopicid
|
6605
|
+
@Compression = compression
|
6606
|
+
end
|
6607
|
+
|
6608
|
+
def deserialize(params)
|
6609
|
+
@FromTopicId = params['FromTopicId']
|
6610
|
+
@Compression = params['Compression']
|
6611
|
+
end
|
6612
|
+
end
|
6613
|
+
|
6614
|
+
# ModifyKafkaConsumer返回参数结构体
|
6615
|
+
class ModifyKafkaConsumerResponse < TencentCloud::Common::AbstractModel
|
6616
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6617
|
+
# @type RequestId: String
|
6618
|
+
|
6619
|
+
attr_accessor :RequestId
|
6620
|
+
|
6621
|
+
def initialize(requestid=nil)
|
6622
|
+
@RequestId = requestid
|
6623
|
+
end
|
6624
|
+
|
6625
|
+
def deserialize(params)
|
6626
|
+
@RequestId = params['RequestId']
|
6627
|
+
end
|
6628
|
+
end
|
6629
|
+
|
6468
6630
|
# ModifyKafkaRecharge请求参数结构体
|
6469
6631
|
class ModifyKafkaRechargeRequest < TencentCloud::Common::AbstractModel
|
6470
6632
|
# @param Id: Kafka导入配置ID
|
@@ -7002,7 +7164,7 @@ module TencentCloud
|
|
7002
7164
|
|
7003
7165
|
# OpenKafkaConsumer请求参数结构体
|
7004
7166
|
class OpenKafkaConsumerRequest < TencentCloud::Common::AbstractModel
|
7005
|
-
# @param FromTopicId:
|
7167
|
+
# @param FromTopicId: 日志主题ID
|
7006
7168
|
# @type FromTopicId: String
|
7007
7169
|
# @param Compression: 压缩方式[0:NONE;2:SNAPPY;3:LZ4]
|
7008
7170
|
# @type Compression: Integer
|
@@ -7029,7 +7191,7 @@ module TencentCloud
|
|
7029
7191
|
|
7030
7192
|
# OpenKafkaConsumer返回参数结构体
|
7031
7193
|
class OpenKafkaConsumerResponse < TencentCloud::Common::AbstractModel
|
7032
|
-
# @param TopicID:
|
7194
|
+
# @param TopicID: KafkaConsumer 消费时使用的Topic参数
|
7033
7195
|
# @type TopicID: String
|
7034
7196
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7035
7197
|
# @type RequestId: 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.626
|
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-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|