Class: TencentCloud::Dbdc::V20201029::HostDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbdc::V20201029::HostDetail
- Defined in:
- lib/v20201029/models.rb
Overview
主机详情
Instance Attribute Summary collapse
- #AssignStatus ⇒ Object
- #CpuAssignable ⇒ Object
- #CpuAssigned ⇒ Object
- #CpuRatio ⇒ Object
- #CpuSpec ⇒ Object
- #DbNum ⇒ Object
- #DiskAssignable ⇒ Object
- #DiskAssigned ⇒ Object
- #DiskRatio ⇒ Object
- #DiskSpec ⇒ Object
- #HostId ⇒ Object
- #HostName ⇒ Object
- #HostType ⇒ Object
- #InstanceId ⇒ Object
- #MachineName ⇒ Object
- #MachineType ⇒ Object
- #MemoryAssignable ⇒ Object
- #MemoryAssigned ⇒ Object
- #MemoryRatio ⇒ Object
- #MemorySpec ⇒ Object
- #Pid ⇒ Object
- #PidTag ⇒ Object
- #Status ⇒ Object
- #Zone ⇒ Object
- #Zones ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hostid = nil, hostname = nil, zone = nil, status = nil, assignstatus = nil, hosttype = nil, dbnum = nil, cpuspec = nil, cpuassigned = nil, cpuassignable = nil, memoryspec = nil, memoryassigned = nil, memoryassignable = nil, diskspec = nil, diskassigned = nil, diskassignable = nil, cpuratio = nil, memoryratio = nil, diskratio = nil, machinename = nil, machinetype = nil, pidtag = nil, pid = nil, instanceid = nil, zones = nil) ⇒ HostDetail
constructor
A new instance of HostDetail.
Constructor Details
#initialize(hostid = nil, hostname = nil, zone = nil, status = nil, assignstatus = nil, hosttype = nil, dbnum = nil, cpuspec = nil, cpuassigned = nil, cpuassignable = nil, memoryspec = nil, memoryassigned = nil, memoryassignable = nil, diskspec = nil, diskassigned = nil, diskassignable = nil, cpuratio = nil, memoryratio = nil, diskratio = nil, machinename = nil, machinetype = nil, pidtag = nil, pid = nil, instanceid = nil, zones = nil) ⇒ HostDetail
Returns a new instance of HostDetail.
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 |
# File 'lib/v20201029/models.rb', line 801 def initialize(hostid=nil, hostname=nil, zone=nil, status=nil, assignstatus=nil, hosttype=nil, dbnum=nil, cpuspec=nil, cpuassigned=nil, cpuassignable=nil, memoryspec=nil, memoryassigned=nil, memoryassignable=nil, diskspec=nil, diskassigned=nil, diskassignable=nil, cpuratio=nil, memoryratio=nil, diskratio=nil, machinename=nil, machinetype=nil, pidtag=nil, pid=nil, instanceid=nil, zones=nil) @HostId = hostid @HostName = hostname @Zone = zone @Status = status @AssignStatus = assignstatus @HostType = hosttype @DbNum = dbnum @CpuSpec = cpuspec @CpuAssigned = cpuassigned @CpuAssignable = cpuassignable @MemorySpec = memoryspec @MemoryAssigned = memoryassigned @MemoryAssignable = memoryassignable @DiskSpec = diskspec @DiskAssigned = diskassigned @DiskAssignable = diskassignable @CpuRatio = cpuratio @MemoryRatio = memoryratio @DiskRatio = diskratio @MachineName = machinename @MachineType = machinetype @PidTag = pidtag @Pid = pid @InstanceId = instanceid @Zones = zones end |
Instance Attribute Details
#AssignStatus ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def AssignStatus @AssignStatus end |
#CpuAssignable ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def CpuAssignable @CpuAssignable end |
#CpuAssigned ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def CpuAssigned @CpuAssigned end |
#CpuRatio ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def CpuRatio @CpuRatio end |
#CpuSpec ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def CpuSpec @CpuSpec end |
#DbNum ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def DbNum @DbNum end |
#DiskAssignable ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def DiskAssignable @DiskAssignable end |
#DiskAssigned ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def DiskAssigned @DiskAssigned end |
#DiskRatio ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def DiskRatio @DiskRatio end |
#DiskSpec ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def DiskSpec @DiskSpec end |
#HostId ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def HostId @HostId end |
#HostName ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def HostName @HostName end |
#HostType ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def HostType @HostType end |
#InstanceId ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def InstanceId @InstanceId end |
#MachineName ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def MachineName @MachineName end |
#MachineType ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def MachineType @MachineType end |
#MemoryAssignable ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def MemoryAssignable @MemoryAssignable end |
#MemoryAssigned ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def MemoryAssigned @MemoryAssigned end |
#MemoryRatio ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def MemoryRatio @MemoryRatio end |
#MemorySpec ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def MemorySpec @MemorySpec end |
#Pid ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def Pid @Pid end |
#PidTag ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def PidTag @PidTag end |
#Status ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def Status @Status end |
#Zone ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def Zone @Zone end |
#Zones ⇒ Object
799 800 801 |
# File 'lib/v20201029/models.rb', line 799 def Zones @Zones end |
Instance Method Details
#deserialize(params) ⇒ Object
829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 |
# File 'lib/v20201029/models.rb', line 829 def deserialize(params) @HostId = params['HostId'] @HostName = params['HostName'] @Zone = params['Zone'] @Status = params['Status'] @AssignStatus = params['AssignStatus'] @HostType = params['HostType'] @DbNum = params['DbNum'] @CpuSpec = params['CpuSpec'] @CpuAssigned = params['CpuAssigned'] @CpuAssignable = params['CpuAssignable'] @MemorySpec = params['MemorySpec'] @MemoryAssigned = params['MemoryAssigned'] @MemoryAssignable = params['MemoryAssignable'] @DiskSpec = params['DiskSpec'] @DiskAssigned = params['DiskAssigned'] @DiskAssignable = params['DiskAssignable'] @CpuRatio = params['CpuRatio'] @MemoryRatio = params['MemoryRatio'] @DiskRatio = params['DiskRatio'] @MachineName = params['MachineName'] @MachineType = params['MachineType'] @PidTag = params['PidTag'] @Pid = params['Pid'] @InstanceId = params['InstanceId'] @Zones = params['Zones'] end |