Class: TencentCloud::Tke::V20220501::HealthCheckPolicyRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::HealthCheckPolicyRule
- Defined in:
- lib/v20220501/models.rb
Overview
健康检测规则
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, enabled = nil, autorepairenabled = nil) ⇒ HealthCheckPolicyRule
constructor
A new instance of HealthCheckPolicyRule.
Constructor Details
#initialize(name = nil, enabled = nil, autorepairenabled = nil) ⇒ HealthCheckPolicyRule
Returns a new instance of HealthCheckPolicyRule.
1009 1010 1011 1012 1013 |
# File 'lib/v20220501/models.rb', line 1009 def initialize(name=nil, enabled=nil, autorepairenabled=nil) @Name = name @Enabled = enabled @AutoRepairEnabled = autorepairenabled end |
Instance Attribute Details
#AutoRepairEnabled ⇒ Object
1007 1008 1009 |
# File 'lib/v20220501/models.rb', line 1007 def AutoRepairEnabled @AutoRepairEnabled end |
#Enabled ⇒ Object
1007 1008 1009 |
# File 'lib/v20220501/models.rb', line 1007 def Enabled @Enabled end |
#Name ⇒ Object
1007 1008 1009 |
# File 'lib/v20220501/models.rb', line 1007 def Name @Name end |
Instance Method Details
#deserialize(params) ⇒ Object
1015 1016 1017 1018 1019 |
# File 'lib/v20220501/models.rb', line 1015 def deserialize(params) @Name = params['Name'] @Enabled = params['Enabled'] @AutoRepairEnabled = params['AutoRepairEnabled'] end |