Class: TencentCloud::Cdz::V20221123::CloudDedicatedZoneResourceStatisticsInfo

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

Overview

专属可用区资源统计项数据详情,对应一个具体的垂直产品的资源统计项。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(item = nil, unit = nil, total = nil, usage = nil, usagerate = nil, remain = nil, remainrate = nil, thismondayusagerate = nil, thismondayusagegrowthrate = nil, lastmondayusagegrowthrate = nil) ⇒ CloudDedicatedZoneResourceStatisticsInfo

Returns a new instance of CloudDedicatedZoneResourceStatisticsInfo.



65
66
67
68
69
70
71
72
73
74
75
76
# File 'lib/v20221123/models.rb', line 65

def initialize(item=nil, unit=nil, total=nil, usage=nil, usagerate=nil, remain=nil, remainrate=nil, thismondayusagerate=nil, thismondayusagegrowthrate=nil, lastmondayusagegrowthrate=nil)
  @Item = item
  @Unit = unit
  @Total = total
  @Usage = usage
  @UsageRate = usagerate
  @Remain = remain
  @RemainRate = remainrate
  @ThisMondayUsageRate = thismondayusagerate
  @ThisMondayUsageGrowthRate = thismondayusagegrowthrate
  @LastMondayUsageGrowthRate = lastmondayusagegrowthrate
end

Instance Attribute Details

#ItemObject

Parameters:

  • Item:

    资源统计项名称

  • Unit:

    资源统计项单位

  • Total:

    资源总量

  • Usage:

    已用资源

  • UsageRate:

    已用资源占比

  • Remain:

    剩余资源

  • RemainRate:

    剩余资源占比

  • ThisMondayUsageRate:

    本周一零点资源使用率

  • ThisMondayUsageGrowthRate:

    本周资源增长比例

  • LastMondayUsageGrowthRate:

    上周资源增长比例



63
64
65
# File 'lib/v20221123/models.rb', line 63

def Item
  @Item
end

#LastMondayUsageGrowthRateObject

Parameters:

  • Item:

    资源统计项名称

  • Unit:

    资源统计项单位

  • Total:

    资源总量

  • Usage:

    已用资源

  • UsageRate:

    已用资源占比

  • Remain:

    剩余资源

  • RemainRate:

    剩余资源占比

  • ThisMondayUsageRate:

    本周一零点资源使用率

  • ThisMondayUsageGrowthRate:

    本周资源增长比例

  • LastMondayUsageGrowthRate:

    上周资源增长比例



63
64
65
# File 'lib/v20221123/models.rb', line 63

def LastMondayUsageGrowthRate
  @LastMondayUsageGrowthRate
end

#RemainObject

Parameters:

  • Item:

    资源统计项名称

  • Unit:

    资源统计项单位

  • Total:

    资源总量

  • Usage:

    已用资源

  • UsageRate:

    已用资源占比

  • Remain:

    剩余资源

  • RemainRate:

    剩余资源占比

  • ThisMondayUsageRate:

    本周一零点资源使用率

  • ThisMondayUsageGrowthRate:

    本周资源增长比例

  • LastMondayUsageGrowthRate:

    上周资源增长比例



63
64
65
# File 'lib/v20221123/models.rb', line 63

def Remain
  @Remain
end

#RemainRateObject

Parameters:

  • Item:

    资源统计项名称

  • Unit:

    资源统计项单位

  • Total:

    资源总量

  • Usage:

    已用资源

  • UsageRate:

    已用资源占比

  • Remain:

    剩余资源

  • RemainRate:

    剩余资源占比

  • ThisMondayUsageRate:

    本周一零点资源使用率

  • ThisMondayUsageGrowthRate:

    本周资源增长比例

  • LastMondayUsageGrowthRate:

    上周资源增长比例



63
64
65
# File 'lib/v20221123/models.rb', line 63

def RemainRate
  @RemainRate
end

#ThisMondayUsageGrowthRateObject

Parameters:

  • Item:

    资源统计项名称

  • Unit:

    资源统计项单位

  • Total:

    资源总量

  • Usage:

    已用资源

  • UsageRate:

    已用资源占比

  • Remain:

    剩余资源

  • RemainRate:

    剩余资源占比

  • ThisMondayUsageRate:

    本周一零点资源使用率

  • ThisMondayUsageGrowthRate:

    本周资源增长比例

  • LastMondayUsageGrowthRate:

    上周资源增长比例



63
64
65
# File 'lib/v20221123/models.rb', line 63

def ThisMondayUsageGrowthRate
  @ThisMondayUsageGrowthRate
end

#ThisMondayUsageRateObject

Parameters:

  • Item:

    资源统计项名称

  • Unit:

    资源统计项单位

  • Total:

    资源总量

  • Usage:

    已用资源

  • UsageRate:

    已用资源占比

  • Remain:

    剩余资源

  • RemainRate:

    剩余资源占比

  • ThisMondayUsageRate:

    本周一零点资源使用率

  • ThisMondayUsageGrowthRate:

    本周资源增长比例

  • LastMondayUsageGrowthRate:

    上周资源增长比例



63
64
65
# File 'lib/v20221123/models.rb', line 63

def ThisMondayUsageRate
  @ThisMondayUsageRate
end

#TotalObject

Parameters:

  • Item:

    资源统计项名称

  • Unit:

    资源统计项单位

  • Total:

    资源总量

  • Usage:

    已用资源

  • UsageRate:

    已用资源占比

  • Remain:

    剩余资源

  • RemainRate:

    剩余资源占比

  • ThisMondayUsageRate:

    本周一零点资源使用率

  • ThisMondayUsageGrowthRate:

    本周资源增长比例

  • LastMondayUsageGrowthRate:

    上周资源增长比例



63
64
65
# File 'lib/v20221123/models.rb', line 63

def Total
  @Total
end

#UnitObject

Parameters:

  • Item:

    资源统计项名称

  • Unit:

    资源统计项单位

  • Total:

    资源总量

  • Usage:

    已用资源

  • UsageRate:

    已用资源占比

  • Remain:

    剩余资源

  • RemainRate:

    剩余资源占比

  • ThisMondayUsageRate:

    本周一零点资源使用率

  • ThisMondayUsageGrowthRate:

    本周资源增长比例

  • LastMondayUsageGrowthRate:

    上周资源增长比例



63
64
65
# File 'lib/v20221123/models.rb', line 63

def Unit
  @Unit
end

#UsageObject

Parameters:

  • Item:

    资源统计项名称

  • Unit:

    资源统计项单位

  • Total:

    资源总量

  • Usage:

    已用资源

  • UsageRate:

    已用资源占比

  • Remain:

    剩余资源

  • RemainRate:

    剩余资源占比

  • ThisMondayUsageRate:

    本周一零点资源使用率

  • ThisMondayUsageGrowthRate:

    本周资源增长比例

  • LastMondayUsageGrowthRate:

    上周资源增长比例



63
64
65
# File 'lib/v20221123/models.rb', line 63

def Usage
  @Usage
end

#UsageRateObject

Parameters:

  • Item:

    资源统计项名称

  • Unit:

    资源统计项单位

  • Total:

    资源总量

  • Usage:

    已用资源

  • UsageRate:

    已用资源占比

  • Remain:

    剩余资源

  • RemainRate:

    剩余资源占比

  • ThisMondayUsageRate:

    本周一零点资源使用率

  • ThisMondayUsageGrowthRate:

    本周资源增长比例

  • LastMondayUsageGrowthRate:

    上周资源增长比例



63
64
65
# File 'lib/v20221123/models.rb', line 63

def UsageRate
  @UsageRate
end

Instance Method Details

#deserialize(params) ⇒ Object



78
79
80
81
82
83
84
85
86
87
88
89
# File 'lib/v20221123/models.rb', line 78

def deserialize(params)
  @Item = params['Item']
  @Unit = params['Unit']
  @Total = params['Total']
  @Usage = params['Usage']
  @UsageRate = params['UsageRate']
  @Remain = params['Remain']
  @RemainRate = params['RemainRate']
  @ThisMondayUsageRate = params['ThisMondayUsageRate']
  @ThisMondayUsageGrowthRate = params['ThisMondayUsageGrowthRate']
  @LastMondayUsageGrowthRate = params['LastMondayUsageGrowthRate']
end