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,表示取不到有效值。.
-
#Targets ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(locationid = nil, domain = nil, url = nil, targets = nil) ⇒ RuleHealth
constructor
A new instance of RuleHealth.
Constructor Details
#initialize(locationid = nil, domain = nil, url = nil, targets = nil) ⇒ RuleHealth
Returns a new instance of RuleHealth.
7676 7677 7678 7679 7680 7681 |
# File 'lib/v20180317/models.rb', line 7676 def initialize(locationid=nil, domain=nil, url=nil, targets=nil) @LocationId = locationid @Domain = domain @Url = url @Targets = targets end |
Instance Attribute Details
#Domain ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7674 7675 7676 |
# File 'lib/v20180317/models.rb', line 7674 def Domain @Domain end |
#LocationId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7674 7675 7676 |
# File 'lib/v20180317/models.rb', line 7674 def LocationId @LocationId end |
#Targets ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7674 7675 7676 |
# File 'lib/v20180317/models.rb', line 7674 def Targets @Targets end |
#Url ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
7674 7675 7676 |
# File 'lib/v20180317/models.rb', line 7674 def Url @Url end |
Instance Method Details
#deserialize(params) ⇒ Object
7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 |
# File 'lib/v20180317/models.rb', line 7683 def deserialize(params) @LocationId = params['LocationId'] @Domain = params['Domain'] @Url = params['Url'] unless params['Targets'].nil? @Targets = [] params['Targets'].each do |i| targethealth_tmp = TargetHealth.new targethealth_tmp.deserialize(i) @Targets << targethealth_tmp end end end |