lib/v20201016/models.rb in tencentcloud-sdk-cls-3.0.652 vs lib/v20201016/models.rb in tencentcloud-sdk-cls-3.0.653
- old
+ new
@@ -5019,14 +5019,17 @@
# @type To: Integer
# @param CosPath: 日志导出路径
# @type CosPath: String
# @param CreateTime: 日志导出创建时间
# @type CreateTime: String
+ # @param SyntaxRule: 语法规则。 默认值为0。
+ # 0:Lucene语法,1:CQL语法。
+ # @type SyntaxRule: Integer
- attr_accessor :TopicId, :ExportId, :Query, :FileName, :FileSize, :Order, :Format, :Count, :Status, :From, :To, :CosPath, :CreateTime
+ attr_accessor :TopicId, :ExportId, :Query, :FileName, :FileSize, :Order, :Format, :Count, :Status, :From, :To, :CosPath, :CreateTime, :SyntaxRule
- def initialize(topicid=nil, exportid=nil, query=nil, filename=nil, filesize=nil, order=nil, format=nil, count=nil, status=nil, from=nil, to=nil, cospath=nil, createtime=nil)
+ def initialize(topicid=nil, exportid=nil, query=nil, filename=nil, filesize=nil, order=nil, format=nil, count=nil, status=nil, from=nil, to=nil, cospath=nil, createtime=nil, syntaxrule=nil)
@TopicId = topicid
@ExportId = exportid
@Query = query
@FileName = filename
@FileSize = filesize
@@ -5036,10 +5039,11 @@
@Status = status
@From = from
@To = to
@CosPath = cospath
@CreateTime = createtime
+ @SyntaxRule = syntaxrule
end
def deserialize(params)
@TopicId = params['TopicId']
@ExportId = params['ExportId']
@@ -5052,10 +5056,11 @@
@Status = params['Status']
@From = params['From']
@To = params['To']
@CosPath = params['CosPath']
@CreateTime = params['CreateTime']
+ @SyntaxRule = params['SyntaxRule']
end
end
# 日志提取规则
class ExtractRuleInfo < TencentCloud::Common::AbstractModel
@@ -6077,10 +6082,13 @@
# 机器状态信息
class MachineInfo < TencentCloud::Common::AbstractModel
# @param Ip: 机器的IP
# @type Ip: String
+ # @param InstanceID: 机器实例ID
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type InstanceID: String
# @param Status: 机器状态,0:异常,1:正常
# @type Status: Integer
# @param OfflineTime: 机器离线时间,空为正常,异常返回具体时间
# @type OfflineTime: String
# @param AutoUpdate: 机器是否开启自动升级。0:关闭,1:开启
@@ -6092,14 +6100,15 @@
# @param ErrCode: 机器升级结果标识。
# @type ErrCode: Integer
# @param ErrMsg: 机器升级结果信息。
# @type ErrMsg: String
- attr_accessor :Ip, :Status, :OfflineTime, :AutoUpdate, :Version, :UpdateStatus, :ErrCode, :ErrMsg
+ attr_accessor :Ip, :InstanceID, :Status, :OfflineTime, :AutoUpdate, :Version, :UpdateStatus, :ErrCode, :ErrMsg
- def initialize(ip=nil, status=nil, offlinetime=nil, autoupdate=nil, version=nil, updatestatus=nil, errcode=nil, errmsg=nil)
+ def initialize(ip=nil, instanceid=nil, status=nil, offlinetime=nil, autoupdate=nil, version=nil, updatestatus=nil, errcode=nil, errmsg=nil)
@Ip = ip
+ @InstanceID = instanceid
@Status = status
@OfflineTime = offlinetime
@AutoUpdate = autoupdate
@Version = version
@UpdateStatus = updatestatus
@@ -6107,9 +6116,10 @@
@ErrMsg = errmsg
end
def deserialize(params)
@Ip = params['Ip']
+ @InstanceID = params['InstanceID']
@Status = params['Status']
@OfflineTime = params['OfflineTime']
@AutoUpdate = params['AutoUpdate']
@Version = params['Version']
@UpdateStatus = params['UpdateStatus']