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.



20137
20138
20139
20140
20141
20142
20143
# File 'lib/v20210820/models.rb', line 20137

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使用百分比



20135
20136
20137
# File 'lib/v20210820/models.rb', line 20135

def ConcurrencyUsage
  @ConcurrencyUsage
end

#CpuUsagePercentObject

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

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20135
20136
20137
# File 'lib/v20210820/models.rb', line 20135

def CpuUsagePercent
  @CpuUsagePercent
end

#MemUsagePercentObject

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

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20135
20136
20137
# File 'lib/v20210820/models.rb', line 20135

def MemUsagePercent
  @MemUsagePercent
end

#OceanusCuUsageObject

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

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20135
20136
20137
# File 'lib/v20210820/models.rb', line 20135

def OceanusCuUsage
  @OceanusCuUsage
end

#TimestampObject

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

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20135
20136
20137
# File 'lib/v20210820/models.rb', line 20135

def Timestamp
  @Timestamp
end

Instance Method Details

#deserialize(params) ⇒ Object



20145
20146
20147
20148
20149
20150
20151
# File 'lib/v20210820/models.rb', line 20145

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