Class: TencentCloud::Tke::V20220501::HealthCheckTemplateRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::HealthCheckTemplateRule
- Defined in:
- lib/v20220501/models.rb
Overview
健康检测模板规则
Instance Attribute Summary collapse
- #Description ⇒ Object
- #Name ⇒ Object
- #RepairAction ⇒ Object
- #RepairEffect ⇒ Object
- #Severity ⇒ Object
- #ShouldEnable ⇒ Object
- #ShouldRepair ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, description = nil, repairaction = nil, repaireffect = nil, shouldenable = nil, shouldrepair = nil, severity = nil) ⇒ HealthCheckTemplateRule
constructor
A new instance of HealthCheckTemplateRule.
Constructor Details
#initialize(name = nil, description = nil, repairaction = nil, repaireffect = nil, shouldenable = nil, shouldrepair = nil, severity = nil) ⇒ HealthCheckTemplateRule
Returns a new instance of HealthCheckTemplateRule.
1064 1065 1066 1067 1068 1069 1070 1071 1072 |
# File 'lib/v20220501/models.rb', line 1064 def initialize(name=nil, description=nil, repairaction=nil, repaireffect=nil, shouldenable=nil, shouldrepair=nil, severity=nil) @Name = name @Description = description @RepairAction = repairaction @RepairEffect = repaireffect @ShouldEnable = shouldenable @ShouldRepair = shouldrepair @Severity = severity end |
Instance Attribute Details
#Description ⇒ Object
1062 1063 1064 |
# File 'lib/v20220501/models.rb', line 1062 def Description @Description end |
#Name ⇒ Object
1062 1063 1064 |
# File 'lib/v20220501/models.rb', line 1062 def Name @Name end |
#RepairAction ⇒ Object
1062 1063 1064 |
# File 'lib/v20220501/models.rb', line 1062 def RepairAction @RepairAction end |
#RepairEffect ⇒ Object
1062 1063 1064 |
# File 'lib/v20220501/models.rb', line 1062 def RepairEffect @RepairEffect end |
#Severity ⇒ Object
1062 1063 1064 |
# File 'lib/v20220501/models.rb', line 1062 def Severity @Severity end |
#ShouldEnable ⇒ Object
1062 1063 1064 |
# File 'lib/v20220501/models.rb', line 1062 def ShouldEnable @ShouldEnable end |
#ShouldRepair ⇒ Object
1062 1063 1064 |
# File 'lib/v20220501/models.rb', line 1062 def ShouldRepair @ShouldRepair end |
Instance Method Details
#deserialize(params) ⇒ Object
1074 1075 1076 1077 1078 1079 1080 1081 1082 |
# File 'lib/v20220501/models.rb', line 1074 def deserialize(params) @Name = params['Name'] @Description = params['Description'] @RepairAction = params['RepairAction'] @RepairEffect = params['RepairEffect'] @ShouldEnable = params['ShouldEnable'] @ShouldRepair = params['ShouldRepair'] @Severity = params['Severity'] end |