Class: TencentCloud::Cdc::V20201214::HostDetailInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdc::V20201214::HostDetailInfo
- Defined in:
- lib/v20201214/models.rb
Overview
宿主机资源的概览详细信息。
Instance Attribute Summary collapse
- #CpuAvailable ⇒ Object
- #CpuTotal ⇒ Object
- #HostTypeFamily ⇒ Object
- #MemAvailable ⇒ Object
- #MemTotal ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hosttypefamily = nil, cputotal = nil, cpuavailable = nil, memtotal = nil, memavailable = nil) ⇒ HostDetailInfo
constructor
A new instance of HostDetailInfo.
Constructor Details
#initialize(hosttypefamily = nil, cputotal = nil, cpuavailable = nil, memtotal = nil, memavailable = nil) ⇒ HostDetailInfo
Returns a new instance of HostDetailInfo.
1648 1649 1650 1651 1652 1653 1654 |
# File 'lib/v20201214/models.rb', line 1648 def initialize(hosttypefamily=nil, cputotal=nil, cpuavailable=nil, memtotal=nil, memavailable=nil) @HostTypeFamily = hosttypefamily @CpuTotal = cputotal @CpuAvailable = cpuavailable @MemTotal = memtotal @MemAvailable = memavailable end |
Instance Attribute Details
#CpuAvailable ⇒ Object
1646 1647 1648 |
# File 'lib/v20201214/models.rb', line 1646 def CpuAvailable @CpuAvailable end |
#CpuTotal ⇒ Object
1646 1647 1648 |
# File 'lib/v20201214/models.rb', line 1646 def CpuTotal @CpuTotal end |
#HostTypeFamily ⇒ Object
1646 1647 1648 |
# File 'lib/v20201214/models.rb', line 1646 def HostTypeFamily @HostTypeFamily end |
#MemAvailable ⇒ Object
1646 1647 1648 |
# File 'lib/v20201214/models.rb', line 1646 def MemAvailable @MemAvailable end |
#MemTotal ⇒ Object
1646 1647 1648 |
# File 'lib/v20201214/models.rb', line 1646 def MemTotal @MemTotal end |
Instance Method Details
#deserialize(params) ⇒ Object
1656 1657 1658 1659 1660 1661 1662 |
# File 'lib/v20201214/models.rb', line 1656 def deserialize(params) @HostTypeFamily = params['HostTypeFamily'] @CpuTotal = params['CpuTotal'] @CpuAvailable = params['CpuAvailable'] @MemTotal = params['MemTotal'] @MemAvailable = params['MemAvailable'] end |