Class: TencentCloud::Cdb::V20170320::DeviceCpuRateInfo

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

Overview

实例CPU平均使用率

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cpucore = nil, rate = nil) ⇒ DeviceCpuRateInfo

Returns a new instance of DeviceCpuRateInfo.



8838
8839
8840
8841
# File 'lib/v20170320/models.rb', line 8838

def initialize(cpucore=nil, rate=nil)
  @CpuCore = cpucore
  @Rate = rate
end

Instance Attribute Details

#CpuCoreObject

Parameters:

  • CpuCore:

    Cpu核编号

  • Rate:

    Cpu使用率



8836
8837
8838
# File 'lib/v20170320/models.rb', line 8836

def CpuCore
  @CpuCore
end

#RateObject

Parameters:

  • CpuCore:

    Cpu核编号

  • Rate:

    Cpu使用率



8836
8837
8838
# File 'lib/v20170320/models.rb', line 8836

def Rate
  @Rate
end

Instance Method Details

#deserialize(params) ⇒ Object



8843
8844
8845
8846
# File 'lib/v20170320/models.rb', line 8843

def deserialize(params)
  @CpuCore = params['CpuCore']
  @Rate = params['Rate']
end