Class: TencentCloud::Clb::V20180317::RuleHealth
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::RuleHealth
- Defined in:
- lib/v20180317/models.rb
Overview
一条转发规则的健康检查状态
Instance Attribute Summary collapse
-
#Domain ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#LocationId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RuleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Targets ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(locationid = nil, domain = nil, url = nil, ruleid = nil, targets = nil) ⇒ RuleHealth
constructor
A new instance of RuleHealth.
Constructor Details
#initialize(locationid = nil, domain = nil, url = nil, ruleid = nil, targets = nil) ⇒ RuleHealth
Returns a new instance of RuleHealth.
7735 7736 7737 7738 7739 7740 7741 |
# File 'lib/v20180317/models.rb', line 7735 def initialize(locationid=nil, domain=nil, url=nil, ruleid=nil, targets=nil) @LocationId = locationid @Domain = domain @Url = url @RuleId = ruleid @Targets = targets end |
Instance Attribute Details
#Domain ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7733 7734 7735 |
# File 'lib/v20180317/models.rb', line 7733 def Domain @Domain end |
#LocationId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7733 7734 7735 |
# File 'lib/v20180317/models.rb', line 7733 def LocationId @LocationId end |
#RuleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7733 7734 7735 |
# File 'lib/v20180317/models.rb', line 7733 def RuleId @RuleId end |
#Targets ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7733 7734 7735 |
# File 'lib/v20180317/models.rb', line 7733 def Targets @Targets end |
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
7733 7734 7735 |
# File 'lib/v20180317/models.rb', line 7733 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 |
# File 'lib/v20180317/models.rb', line 7743 def deserialize(params) @LocationId = params['LocationId'] @Domain = params['Domain'] @Url = params['Url'] @RuleId = params['RuleId'] unless params['Targets'].nil? @Targets = [] params['Targets'].each do |i| targethealth_tmp = TargetHealth.new targethealth_tmp.deserialize(i) @Targets << targethealth_tmp end end end |