Class: TencentCloud::Wedata::V20210820::ExecutorUsageTrendInfo

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

Overview

资源组/资源包使用趋势

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(timestamp = nil, cpuusagepercent = nil, memusagepercent = nil, concurrencyusage = nil, oceanuscuusage = nil) ⇒ ExecutorUsageTrendInfo

Returns a new instance of ExecutorUsageTrendInfo.



20011
20012
20013
20014
20015
20016
20017
# File 'lib/v20210820/models.rb', line 20011

def initialize(timestamp=nil, cpuusagepercent=nil, memusagepercent=nil, concurrencyusage=nil, oceanuscuusage=nil)
  @Timestamp = timestamp
  @CpuUsagePercent = cpuusagepercent
  @MemUsagePercent = memusagepercent
  @ConcurrencyUsage = concurrencyusage
  @OceanusCuUsage = oceanuscuusage
end

Instance Attribute Details

#ConcurrencyUsageObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20009
20010
20011
# File 'lib/v20210820/models.rb', line 20009

def ConcurrencyUsage
  @ConcurrencyUsage
end

#CpuUsagePercentObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20009
20010
20011
# File 'lib/v20210820/models.rb', line 20009

def CpuUsagePercent
  @CpuUsagePercent
end

#MemUsagePercentObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20009
20010
20011
# File 'lib/v20210820/models.rb', line 20009

def MemUsagePercent
  @MemUsagePercent
end

#OceanusCuUsageObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20009
20010
20011
# File 'lib/v20210820/models.rb', line 20009

def OceanusCuUsage
  @OceanusCuUsage
end

#TimestampObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20009
20010
20011
# File 'lib/v20210820/models.rb', line 20009

def Timestamp
  @Timestamp
end

Instance Method Details

#deserialize(params) ⇒ Object



20019
20020
20021
20022
20023
20024
20025
# File 'lib/v20210820/models.rb', line 20019

def deserialize(params)
  @Timestamp = params['Timestamp']
  @CpuUsagePercent = params['CpuUsagePercent']
  @MemUsagePercent = params['MemUsagePercent']
  @ConcurrencyUsage = params['ConcurrencyUsage']
  @OceanusCuUsage = params['OceanusCuUsage']
end