Class: TencentCloud::Tke::V20180525::KubeJarvisStateStatistic

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

Overview

集群巡检统计结果

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(healthylevel = nil, count = nil) ⇒ KubeJarvisStateStatistic

Returns a new instance of KubeJarvisStateStatistic.



13609
13610
13611
13612
# File 'lib/v20180525/models.rb', line 13609

def initialize(healthylevel=nil, count=nil)
  @HealthyLevel = healthylevel
  @Count = count
end

Instance Attribute Details

#CountObject

serious:高风险risk:中风险warn:低风险good:健康failed:诊断流程异常

Parameters:

  • HealthyLevel:

    诊断结果的健康水平,健康水平取值:

  • Count:

    诊断结果的统计



13607
13608
13609
# File 'lib/v20180525/models.rb', line 13607

def Count
  @Count
end

#HealthyLevelObject

serious:高风险risk:中风险warn:低风险good:健康failed:诊断流程异常

Parameters:

  • HealthyLevel:

    诊断结果的健康水平,健康水平取值:

  • Count:

    诊断结果的统计



13607
13608
13609
# File 'lib/v20180525/models.rb', line 13607

def HealthyLevel
  @HealthyLevel
end

Instance Method Details

#deserialize(params) ⇒ Object



13614
13615
13616
13617
# File 'lib/v20180525/models.rb', line 13614

def deserialize(params)
  @HealthyLevel = params['HealthyLevel']
  @Count = params['Count']
end