lib/v20201016/models.rb in tencentcloud-sdk-cls-3.0.630 vs lib/v20201016/models.rb in tencentcloud-sdk-cls-3.0.631
- old
+ new
@@ -2026,22 +2026,25 @@
# @type UpdateEndTime: String
# @param ServiceLogging: 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费
# @type ServiceLogging: Boolean
# @param MetaTags: 机器组元数据信息列表
# @type MetaTags: Array
+ # @param OSType: 系统类型,默认0,0:Linux,1: windows
+ # @type OSType: Integer
- attr_accessor :GroupName, :MachineGroupType, :Tags, :AutoUpdate, :UpdateStartTime, :UpdateEndTime, :ServiceLogging, :MetaTags
+ attr_accessor :GroupName, :MachineGroupType, :Tags, :AutoUpdate, :UpdateStartTime, :UpdateEndTime, :ServiceLogging, :MetaTags, :OSType
- def initialize(groupname=nil, machinegrouptype=nil, tags=nil, autoupdate=nil, updatestarttime=nil, updateendtime=nil, servicelogging=nil, metatags=nil)
+ def initialize(groupname=nil, machinegrouptype=nil, tags=nil, autoupdate=nil, updatestarttime=nil, updateendtime=nil, servicelogging=nil, metatags=nil, ostype=nil)
@GroupName = groupname
@MachineGroupType = machinegrouptype
@Tags = tags
@AutoUpdate = autoupdate
@UpdateStartTime = updatestarttime
@UpdateEndTime = updateendtime
@ServiceLogging = servicelogging
@MetaTags = metatags
+ @OSType = ostype
end
def deserialize(params)
@GroupName = params['GroupName']
unless params['MachineGroupType'].nil?
@@ -2066,10 +2069,11 @@
metataginfo_tmp = MetaTagInfo.new
metataginfo_tmp.deserialize(i)
@MetaTags << metataginfo_tmp
end
end
+ @OSType = params['OSType']
end
end
# CreateMachineGroup返回参数结构体
class CreateMachineGroupResponse < TencentCloud::Common::AbstractModel
@@ -4393,10 +4397,15 @@
# machineGroupId
# - 按照【机器组ID】进行过滤。
# - 类型:String
# - 必选:否
+ # osType
+ # - 按照【操作系统类型】进行过滤。
+ # - 类型:Int
+ # - 必选:否
+
# tagKey
# - 按照【标签键】进行过滤。
# - 类型:String
# - 必选:否
@@ -4843,10 +4852,38 @@
def deserialize(params)
@Status = params['Status']
end
end
+ # Windows事件日志采集配置
+ class EventLog < TencentCloud::Common::AbstractModel
+ # @param EventChannel: 事件通道,支持Application,Security,Setup,System,ALL
+ # @type EventChannel: String
+ # @param TimeType: 时间类型,1:用户自定义,2:当前时间
+ # @type TimeType: Integer
+ # @param Timestamp: 时间,用户选择自定义时间类型时,需要指定时间
+ # @type Timestamp: Integer
+ # @param EventIDs: 事件ID过滤列表
+ # @type EventIDs: Array
+
+ attr_accessor :EventChannel, :TimeType, :Timestamp, :EventIDs
+
+ def initialize(eventchannel=nil, timetype=nil, timestamp=nil, eventids=nil)
+ @EventChannel = eventchannel
+ @TimeType = timetype
+ @Timestamp = timestamp
+ @EventIDs = eventids
+ end
+
+ def deserialize(params)
+ @EventChannel = params['EventChannel']
+ @TimeType = params['TimeType']
+ @Timestamp = params['Timestamp']
+ @EventIDs = params['EventIDs']
+ end
+ end
+
# 黑名单path信息
class ExcludePathInfo < TencentCloud::Common::AbstractModel
# @param Type: 类型,选填File或Path
# @type Type: String
# @param Value: Type对应的具体内容
@@ -4986,14 +5023,16 @@
# @param PathRegex: 采集配置路径正则表达式,MetadataType为3时必填
# 注意:此字段可能返回 null,表示取不到有效值。
# @type PathRegex: String
# @param MetaTags: 用户自定义元数据信息,MetadataType为2时必填
# @type MetaTags: Array
+ # @param EventLogRules: windows事件日志采集
+ # @type EventLogRules: Array
- attr_accessor :TimeKey, :TimeFormat, :Delimiter, :LogRegex, :BeginRegex, :Keys, :FilterKeyRegex, :UnMatchUpLoadSwitch, :UnMatchLogKey, :Backtracking, :IsGBK, :JsonStandard, :Protocol, :Address, :ParseProtocol, :MetadataType, :PathRegex, :MetaTags
+ attr_accessor :TimeKey, :TimeFormat, :Delimiter, :LogRegex, :BeginRegex, :Keys, :FilterKeyRegex, :UnMatchUpLoadSwitch, :UnMatchLogKey, :Backtracking, :IsGBK, :JsonStandard, :Protocol, :Address, :ParseProtocol, :MetadataType, :PathRegex, :MetaTags, :EventLogRules
- def initialize(timekey=nil, timeformat=nil, delimiter=nil, logregex=nil, beginregex=nil, keys=nil, filterkeyregex=nil, unmatchuploadswitch=nil, unmatchlogkey=nil, backtracking=nil, isgbk=nil, jsonstandard=nil, protocol=nil, address=nil, parseprotocol=nil, metadatatype=nil, pathregex=nil, metatags=nil)
+ def initialize(timekey=nil, timeformat=nil, delimiter=nil, logregex=nil, beginregex=nil, keys=nil, filterkeyregex=nil, unmatchuploadswitch=nil, unmatchlogkey=nil, backtracking=nil, isgbk=nil, jsonstandard=nil, protocol=nil, address=nil, parseprotocol=nil, metadatatype=nil, pathregex=nil, metatags=nil, eventlogrules=nil)
@TimeKey = timekey
@TimeFormat = timeformat
@Delimiter = delimiter
@LogRegex = logregex
@BeginRegex = beginregex
@@ -5008,10 +5047,11 @@
@Address = address
@ParseProtocol = parseprotocol
@MetadataType = metadatatype
@PathRegex = pathregex
@MetaTags = metatags
+ @EventLogRules = eventlogrules
end
def deserialize(params)
@TimeKey = params['TimeKey']
@TimeFormat = params['TimeFormat']
@@ -5043,10 +5083,18 @@
metataginfo_tmp = MetaTagInfo.new
metataginfo_tmp.deserialize(i)
@MetaTags << metataginfo_tmp
end
end
+ unless params['EventLogRules'].nil?
+ @EventLogRules = []
+ params['EventLogRules'].each do |i|
+ eventlog_tmp = EventLog.new
+ eventlog_tmp.deserialize(i)
+ @EventLogRules << eventlog_tmp
+ end
+ end
end
end
# 过滤器
class Filter < TencentCloud::Common::AbstractModel
@@ -5843,24 +5891,27 @@
# @param ServiceLogging: 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ServiceLogging: Boolean
# @param MetaTags: 机器组元数据信息列表
# @type MetaTags: Array
+ # @param OSType: 操作系统类型,0: Linux,1: windows
+ # @type OSType: Integer
- attr_accessor :GroupId, :GroupName, :MachineGroupType, :CreateTime, :Tags, :AutoUpdate, :UpdateStartTime, :UpdateEndTime, :ServiceLogging, :MetaTags
+ attr_accessor :GroupId, :GroupName, :MachineGroupType, :CreateTime, :Tags, :AutoUpdate, :UpdateStartTime, :UpdateEndTime, :ServiceLogging, :MetaTags, :OSType
- def initialize(groupid=nil, groupname=nil, machinegrouptype=nil, createtime=nil, tags=nil, autoupdate=nil, updatestarttime=nil, updateendtime=nil, servicelogging=nil, metatags=nil)
+ def initialize(groupid=nil, groupname=nil, machinegrouptype=nil, createtime=nil, tags=nil, autoupdate=nil, updatestarttime=nil, updateendtime=nil, servicelogging=nil, metatags=nil, ostype=nil)
@GroupId = groupid
@GroupName = groupname
@MachineGroupType = machinegrouptype
@CreateTime = createtime
@Tags = tags
@AutoUpdate = autoupdate
@UpdateStartTime = updatestarttime
@UpdateEndTime = updateendtime
@ServiceLogging = servicelogging
@MetaTags = metatags
+ @OSType = ostype
end
def deserialize(params)
@GroupId = params['GroupId']
@GroupName = params['GroupName']
@@ -5887,9 +5938,10 @@
metataginfo_tmp = MetaTagInfo.new
metataginfo_tmp.deserialize(i)
@MetaTags << metataginfo_tmp
end
end
+ @OSType = params['OSType']
end
end
# 机器组类型描述
class MachineGroupTypeInfo < TencentCloud::Common::AbstractModel