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.



20827
20828
20829
20830
20831
20832
20833
# File 'lib/v20210820/models.rb', line 20827

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



20825
20826
20827
# File 'lib/v20210820/models.rb', line 20825

def ConcurrencyUsage
  @ConcurrencyUsage
end

#CpuUsagePercentObject

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

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20825
20826
20827
# File 'lib/v20210820/models.rb', line 20825

def CpuUsagePercent
  @CpuUsagePercent
end

#MemUsagePercentObject

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

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20825
20826
20827
# File 'lib/v20210820/models.rb', line 20825

def MemUsagePercent
  @MemUsagePercent
end

#OceanusCuUsageObject

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

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20825
20826
20827
# File 'lib/v20210820/models.rb', line 20825

def OceanusCuUsage
  @OceanusCuUsage
end

#TimestampObject

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

Parameters:

  • Timestamp:

    时间戳,单位:毫秒

  • CpuUsagePercent:

    CPU占用百分比

  • MemUsagePercent:

    内存占用百分比

  • ConcurrencyUsage:

    当前并发度使用百分比

  • OceanusCuUsage:

    oceanus CU使用百分比



20825
20826
20827
# File 'lib/v20210820/models.rb', line 20825

def Timestamp
  @Timestamp
end

Instance Method Details

#deserialize(params) ⇒ Object



20835
20836
20837
20838
20839
20840
20841
# File 'lib/v20210820/models.rb', line 20835

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