Class: TencentCloud::Cwp::V20180228::BaselineHostDetect

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

基线主机检测

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hostid = nil, hostip = nil, hostname = nil, wanip = nil, detectstatus = nil, passeditemcount = nil, itemcount = nil, notpasseditemcount = nil, firsttime = nil, lasttime = nil, uuid = nil, machineextrainfo = nil) ⇒ BaselineHostDetect

Returns a new instance of BaselineHostDetect.



3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
# File 'lib/v20180228/models.rb', line 3150

def initialize(hostid=nil, hostip=nil, hostname=nil, wanip=nil, detectstatus=nil, passeditemcount=nil, itemcount=nil, notpasseditemcount=nil, firsttime=nil, lasttime=nil, uuid=nil, machineextrainfo=nil)
  @HostId = hostid
  @HostIp = hostip
  @HostName = hostname
  @WanIp = wanip
  @DetectStatus = detectstatus
  @PassedItemCount = passeditemcount
  @ItemCount = itemcount
  @NotPassedItemCount = notpasseditemcount
  @FirstTime = firsttime
  @LastTime = lasttime
  @Uuid = uuid
  @MachineExtraInfo = machineextrainfo
end

Instance Attribute Details

#DetectStatusObject

Parameters:

  • HostId:

    主机Id

  • HostIp:

    内网Ip

  • HostName:

    主机名称

  • WanIp:

    外网Ip

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • PassedItemCount:

    检测通过数

  • ItemCount:

    关联检测项数

  • NotPassedItemCount:

    检测未通过数

  • FirstTime:

    首次检测时间

  • LastTime:

    最后检测时间

  • Uuid:

    主机安全UUID

  • MachineExtraInfo:

    主机额外信息



3148
3149
3150
# File 'lib/v20180228/models.rb', line 3148

def DetectStatus
  @DetectStatus
end

#FirstTimeObject

Parameters:

  • HostId:

    主机Id

  • HostIp:

    内网Ip

  • HostName:

    主机名称

  • WanIp:

    外网Ip

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • PassedItemCount:

    检测通过数

  • ItemCount:

    关联检测项数

  • NotPassedItemCount:

    检测未通过数

  • FirstTime:

    首次检测时间

  • LastTime:

    最后检测时间

  • Uuid:

    主机安全UUID

  • MachineExtraInfo:

    主机额外信息



3148
3149
3150
# File 'lib/v20180228/models.rb', line 3148

def FirstTime
  @FirstTime
end

#HostIdObject

Parameters:

  • HostId:

    主机Id

  • HostIp:

    内网Ip

  • HostName:

    主机名称

  • WanIp:

    外网Ip

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • PassedItemCount:

    检测通过数

  • ItemCount:

    关联检测项数

  • NotPassedItemCount:

    检测未通过数

  • FirstTime:

    首次检测时间

  • LastTime:

    最后检测时间

  • Uuid:

    主机安全UUID

  • MachineExtraInfo:

    主机额外信息



3148
3149
3150
# File 'lib/v20180228/models.rb', line 3148

def HostId
  @HostId
end

#HostIpObject

Parameters:

  • HostId:

    主机Id

  • HostIp:

    内网Ip

  • HostName:

    主机名称

  • WanIp:

    外网Ip

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • PassedItemCount:

    检测通过数

  • ItemCount:

    关联检测项数

  • NotPassedItemCount:

    检测未通过数

  • FirstTime:

    首次检测时间

  • LastTime:

    最后检测时间

  • Uuid:

    主机安全UUID

  • MachineExtraInfo:

    主机额外信息



3148
3149
3150
# File 'lib/v20180228/models.rb', line 3148

def HostIp
  @HostIp
end

#HostNameObject

Parameters:

  • HostId:

    主机Id

  • HostIp:

    内网Ip

  • HostName:

    主机名称

  • WanIp:

    外网Ip

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • PassedItemCount:

    检测通过数

  • ItemCount:

    关联检测项数

  • NotPassedItemCount:

    检测未通过数

  • FirstTime:

    首次检测时间

  • LastTime:

    最后检测时间

  • Uuid:

    主机安全UUID

  • MachineExtraInfo:

    主机额外信息



3148
3149
3150
# File 'lib/v20180228/models.rb', line 3148

def HostName
  @HostName
end

#ItemCountObject

Parameters:

  • HostId:

    主机Id

  • HostIp:

    内网Ip

  • HostName:

    主机名称

  • WanIp:

    外网Ip

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • PassedItemCount:

    检测通过数

  • ItemCount:

    关联检测项数

  • NotPassedItemCount:

    检测未通过数

  • FirstTime:

    首次检测时间

  • LastTime:

    最后检测时间

  • Uuid:

    主机安全UUID

  • MachineExtraInfo:

    主机额外信息



3148
3149
3150
# File 'lib/v20180228/models.rb', line 3148

def ItemCount
  @ItemCount
end

#LastTimeObject

Parameters:

  • HostId:

    主机Id

  • HostIp:

    内网Ip

  • HostName:

    主机名称

  • WanIp:

    外网Ip

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • PassedItemCount:

    检测通过数

  • ItemCount:

    关联检测项数

  • NotPassedItemCount:

    检测未通过数

  • FirstTime:

    首次检测时间

  • LastTime:

    最后检测时间

  • Uuid:

    主机安全UUID

  • MachineExtraInfo:

    主机额外信息



3148
3149
3150
# File 'lib/v20180228/models.rb', line 3148

def LastTime
  @LastTime
end

#MachineExtraInfoObject

Parameters:

  • HostId:

    主机Id

  • HostIp:

    内网Ip

  • HostName:

    主机名称

  • WanIp:

    外网Ip

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • PassedItemCount:

    检测通过数

  • ItemCount:

    关联检测项数

  • NotPassedItemCount:

    检测未通过数

  • FirstTime:

    首次检测时间

  • LastTime:

    最后检测时间

  • Uuid:

    主机安全UUID

  • MachineExtraInfo:

    主机额外信息



3148
3149
3150
# File 'lib/v20180228/models.rb', line 3148

def MachineExtraInfo
  @MachineExtraInfo
end

#NotPassedItemCountObject

Parameters:

  • HostId:

    主机Id

  • HostIp:

    内网Ip

  • HostName:

    主机名称

  • WanIp:

    外网Ip

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • PassedItemCount:

    检测通过数

  • ItemCount:

    关联检测项数

  • NotPassedItemCount:

    检测未通过数

  • FirstTime:

    首次检测时间

  • LastTime:

    最后检测时间

  • Uuid:

    主机安全UUID

  • MachineExtraInfo:

    主机额外信息



3148
3149
3150
# File 'lib/v20180228/models.rb', line 3148

def NotPassedItemCount
  @NotPassedItemCount
end

#PassedItemCountObject

Parameters:

  • HostId:

    主机Id

  • HostIp:

    内网Ip

  • HostName:

    主机名称

  • WanIp:

    外网Ip

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • PassedItemCount:

    检测通过数

  • ItemCount:

    关联检测项数

  • NotPassedItemCount:

    检测未通过数

  • FirstTime:

    首次检测时间

  • LastTime:

    最后检测时间

  • Uuid:

    主机安全UUID

  • MachineExtraInfo:

    主机额外信息



3148
3149
3150
# File 'lib/v20180228/models.rb', line 3148

def PassedItemCount
  @PassedItemCount
end

#UuidObject

Parameters:

  • HostId:

    主机Id

  • HostIp:

    内网Ip

  • HostName:

    主机名称

  • WanIp:

    外网Ip

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • PassedItemCount:

    检测通过数

  • ItemCount:

    关联检测项数

  • NotPassedItemCount:

    检测未通过数

  • FirstTime:

    首次检测时间

  • LastTime:

    最后检测时间

  • Uuid:

    主机安全UUID

  • MachineExtraInfo:

    主机额外信息



3148
3149
3150
# File 'lib/v20180228/models.rb', line 3148

def Uuid
  @Uuid
end

#WanIpObject

Parameters:

  • HostId:

    主机Id

  • HostIp:

    内网Ip

  • HostName:

    主机名称

  • WanIp:

    外网Ip

  • DetectStatus:

    0:未通过 1:忽略 3:通过 5:检测中

  • PassedItemCount:

    检测通过数

  • ItemCount:

    关联检测项数

  • NotPassedItemCount:

    检测未通过数

  • FirstTime:

    首次检测时间

  • LastTime:

    最后检测时间

  • Uuid:

    主机安全UUID

  • MachineExtraInfo:

    主机额外信息



3148
3149
3150
# File 'lib/v20180228/models.rb', line 3148

def WanIp
  @WanIp
end

Instance Method Details

#deserialize(params) ⇒ Object



3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
# File 'lib/v20180228/models.rb', line 3165

def deserialize(params)
  @HostId = params['HostId']
  @HostIp = params['HostIp']
  @HostName = params['HostName']
  @WanIp = params['WanIp']
  @DetectStatus = params['DetectStatus']
  @PassedItemCount = params['PassedItemCount']
  @ItemCount = params['ItemCount']
  @NotPassedItemCount = params['NotPassedItemCount']
  @FirstTime = params['FirstTime']
  @LastTime = params['LastTime']
  @Uuid = params['Uuid']
  unless params['MachineExtraInfo'].nil?
    @MachineExtraInfo = MachineExtraInfo.new
    @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
  end
end