Class: TencentCloud::Cwp::V20180228::AssetMachineDetail
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::AssetMachineDetail
- Defined in:
- lib/v20180228/models.rb
Overview
资产指纹中服务器列表的基本信息
Instance Attribute Summary collapse
- #AgentVersion ⇒ Object
- #BootTime ⇒ Object
- #BuyTime ⇒ Object
- #CoreVersion ⇒ Object
- #Cpu ⇒ Object
- #CpuLoad ⇒ Object
- #CpuLoadVul ⇒ Object
- #CpuSize ⇒ Object
- #DeviceVersion ⇒ Object
- #DiskLoad ⇒ Object
- #Disks ⇒ Object
- #DiskSize ⇒ Object
- #EndTime ⇒ Object
- #FirstTime ⇒ Object
- #InstallTime ⇒ Object
- #InstanceId ⇒ Object
- #LastLiveTime ⇒ Object
- #MachineExtraInfo ⇒ Object
- #MachineIp ⇒ Object
- #MachineName ⇒ Object
- #MachineWanIp ⇒ Object
- #MemLoad ⇒ Object
- #MemSize ⇒ Object
- #NetCards ⇒ Object
- #OfflineTime ⇒ Object
- #OsInfo ⇒ Object
- #OsType ⇒ Object
- #PartitionCount ⇒ Object
- #Producer ⇒ Object
- #ProjectId ⇒ Object
- #ProtectDays ⇒ Object
- #ProtectLevel ⇒ Object
- #Quuid ⇒ Object
- #RiskStatus ⇒ Object
- #SerialNumber ⇒ Object
- #Status ⇒ Object
- #UpdateTime ⇒ Object
- #Uuid ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(quuid = nil, uuid = nil, machineip = nil, machinename = nil, osinfo = nil, cpu = nil, memsize = nil, memload = nil, disksize = nil, diskload = nil, partitioncount = nil, machinewanip = nil, cpusize = nil, cpuload = nil, protectlevel = nil, riskstatus = nil, protectdays = nil, buytime = nil, endtime = nil, coreversion = nil, ostype = nil, agentversion = nil, installtime = nil, boottime = nil, lastlivetime = nil, producer = nil, serialnumber = nil, netcards = nil, disks = nil, status = nil, projectid = nil, deviceversion = nil, offlinetime = nil, instanceid = nil, updatetime = nil, machineextrainfo = nil, cpuloadvul = nil, firsttime = nil) ⇒ AssetMachineDetail
constructor
A new instance of AssetMachineDetail.
Constructor Details
#initialize(quuid = nil, uuid = nil, machineip = nil, machinename = nil, osinfo = nil, cpu = nil, memsize = nil, memload = nil, disksize = nil, diskload = nil, partitioncount = nil, machinewanip = nil, cpusize = nil, cpuload = nil, protectlevel = nil, riskstatus = nil, protectdays = nil, buytime = nil, endtime = nil, coreversion = nil, ostype = nil, agentversion = nil, installtime = nil, boottime = nil, lastlivetime = nil, producer = nil, serialnumber = nil, netcards = nil, disks = nil, status = nil, projectid = nil, deviceversion = nil, offlinetime = nil, instanceid = nil, updatetime = nil, machineextrainfo = nil, cpuloadvul = nil, firsttime = nil) ⇒ AssetMachineDetail
1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 |
# File 'lib/v20180228/models.rb', line 1319 def initialize(quuid=nil, uuid=nil, machineip=nil, machinename=nil, osinfo=nil, cpu=nil, memsize=nil, memload=nil, disksize=nil, diskload=nil, partitioncount=nil, machinewanip=nil, cpusize=nil, cpuload=nil, protectlevel=nil, riskstatus=nil, protectdays=nil, buytime=nil, endtime=nil, coreversion=nil, ostype=nil, agentversion=nil, installtime=nil, boottime=nil, lastlivetime=nil, producer=nil, serialnumber=nil, netcards=nil, disks=nil, status=nil, projectid=nil, deviceversion=nil, offlinetime=nil, instanceid=nil, updatetime=nil, machineextrainfo=nil, cpuloadvul=nil, firsttime=nil) @Quuid = quuid @Uuid = uuid @MachineIp = machineip @MachineName = machinename @OsInfo = osinfo @Cpu = cpu @MemSize = memsize @MemLoad = memload @DiskSize = disksize @DiskLoad = diskload @PartitionCount = partitioncount @MachineWanIp = machinewanip @CpuSize = cpusize @CpuLoad = cpuload @ProtectLevel = protectlevel @RiskStatus = riskstatus @ProtectDays = protectdays @BuyTime = buytime @EndTime = endtime @CoreVersion = coreversion @OsType = ostype @AgentVersion = agentversion @InstallTime = installtime @BootTime = boottime @LastLiveTime = lastlivetime @Producer = producer @SerialNumber = serialnumber @NetCards = netcards @Disks = disks @Status = status @ProjectId = projectid @DeviceVersion = deviceversion @OfflineTime = offlinetime @InstanceId = instanceid @UpdateTime = updatetime @MachineExtraInfo = machineextrainfo @CpuLoadVul = cpuloadvul @FirstTime = firsttime end |
Instance Attribute Details
#AgentVersion ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def AgentVersion @AgentVersion end |
#BootTime ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def BootTime @BootTime end |
#BuyTime ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def BuyTime @BuyTime end |
#CoreVersion ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def CoreVersion @CoreVersion end |
#Cpu ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def Cpu @Cpu end |
#CpuLoad ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def CpuLoad @CpuLoad end |
#CpuLoadVul ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def CpuLoadVul @CpuLoadVul end |
#CpuSize ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def CpuSize @CpuSize end |
#DeviceVersion ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def DeviceVersion @DeviceVersion end |
#DiskLoad ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def DiskLoad @DiskLoad end |
#Disks ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def Disks @Disks end |
#DiskSize ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def DiskSize @DiskSize end |
#EndTime ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def EndTime @EndTime end |
#FirstTime ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def FirstTime @FirstTime end |
#InstallTime ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def InstallTime @InstallTime end |
#InstanceId ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def InstanceId @InstanceId end |
#LastLiveTime ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def LastLiveTime @LastLiveTime end |
#MachineExtraInfo ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def MachineExtraInfo @MachineExtraInfo end |
#MachineIp ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def MachineIp @MachineIp end |
#MachineName ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def MachineName @MachineName end |
#MachineWanIp ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def MachineWanIp @MachineWanIp end |
#MemLoad ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def MemLoad @MemLoad end |
#MemSize ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def MemSize @MemSize end |
#NetCards ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def NetCards @NetCards end |
#OfflineTime ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def OfflineTime @OfflineTime end |
#OsInfo ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def OsInfo @OsInfo end |
#OsType ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def OsType @OsType end |
#PartitionCount ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def PartitionCount @PartitionCount end |
#Producer ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def Producer @Producer end |
#ProjectId ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def ProjectId @ProjectId end |
#ProtectDays ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def ProtectDays @ProtectDays end |
#ProtectLevel ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def ProtectLevel @ProtectLevel end |
#Quuid ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def Quuid @Quuid end |
#RiskStatus ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def RiskStatus @RiskStatus end |
#SerialNumber ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def SerialNumber @SerialNumber end |
#Status ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def Status @Status end |
#UpdateTime ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def UpdateTime @UpdateTime end |
#Uuid ⇒ Object
1317 1318 1319 |
# File 'lib/v20180228/models.rb', line 1317 def Uuid @Uuid end |
Instance Method Details
#deserialize(params) ⇒ Object
1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'lib/v20180228/models.rb', line 1360 def deserialize(params) @Quuid = params['Quuid'] @Uuid = params['Uuid'] @MachineIp = params['MachineIp'] @MachineName = params['MachineName'] @OsInfo = params['OsInfo'] @Cpu = params['Cpu'] @MemSize = params['MemSize'] @MemLoad = params['MemLoad'] @DiskSize = params['DiskSize'] @DiskLoad = params['DiskLoad'] @PartitionCount = params['PartitionCount'] @MachineWanIp = params['MachineWanIp'] @CpuSize = params['CpuSize'] @CpuLoad = params['CpuLoad'] @ProtectLevel = params['ProtectLevel'] @RiskStatus = params['RiskStatus'] @ProtectDays = params['ProtectDays'] @BuyTime = params['BuyTime'] @EndTime = params['EndTime'] @CoreVersion = params['CoreVersion'] @OsType = params['OsType'] @AgentVersion = params['AgentVersion'] @InstallTime = params['InstallTime'] @BootTime = params['BootTime'] @LastLiveTime = params['LastLiveTime'] @Producer = params['Producer'] @SerialNumber = params['SerialNumber'] unless params['NetCards'].nil? @NetCards = [] params['NetCards'].each do |i| assetnetworkcardinfo_tmp = AssetNetworkCardInfo.new assetnetworkcardinfo_tmp.deserialize(i) @NetCards << assetnetworkcardinfo_tmp end end unless params['Disks'].nil? @Disks = [] params['Disks'].each do |i| assetdiskpartitioninfo_tmp = AssetDiskPartitionInfo.new assetdiskpartitioninfo_tmp.deserialize(i) @Disks << assetdiskpartitioninfo_tmp end end @Status = params['Status'] @ProjectId = params['ProjectId'] @DeviceVersion = params['DeviceVersion'] @OfflineTime = params['OfflineTime'] @InstanceId = params['InstanceId'] @UpdateTime = params['UpdateTime'] unless params['MachineExtraInfo'].nil? @MachineExtraInfo = MachineExtraInfo.new @MachineExtraInfo.deserialize(params['MachineExtraInfo']) end @CpuLoadVul = params['CpuLoadVul'] @FirstTime = params['FirstTime'] end |