Class: TencentCloud::Clb::V20180317::TargetGroupInstanceStatus
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::TargetGroupInstanceStatus
- Defined in:
- lib/v20180317/models.rb
Overview
用于目标组后端rs健康检查状态。
Instance Attribute Summary collapse
-
#EniId ⇒ Object
● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceId ⇒ Object
● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceIp ⇒ Object
● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Port ⇒ Object
● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceip = nil, status = nil, instanceid = nil, port = nil, eniid = nil) ⇒ TargetGroupInstanceStatus
constructor
A new instance of TargetGroupInstanceStatus.
Constructor Details
#initialize(instanceip = nil, status = nil, instanceid = nil, port = nil, eniid = nil) ⇒ TargetGroupInstanceStatus
Returns a new instance of TargetGroupInstanceStatus.
8762 8763 8764 8765 8766 8767 8768 |
# File 'lib/v20180317/models.rb', line 8762 def initialize(instanceip=nil, status=nil, instanceid=nil, port=nil, eniid=nil) @InstanceIp = instanceip @Status = status @InstanceId = instanceid @Port = port @EniId = eniid end |
Instance Attribute Details
#EniId ⇒ Object
● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。
8760 8761 8762 |
# File 'lib/v20180317/models.rb', line 8760 def EniId @EniId end |
#InstanceId ⇒ Object
● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。
8760 8761 8762 |
# File 'lib/v20180317/models.rb', line 8760 def InstanceId @InstanceId end |
#InstanceIp ⇒ Object
● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。
8760 8761 8762 |
# File 'lib/v20180317/models.rb', line 8760 def InstanceIp @InstanceIp end |
#Port ⇒ Object
● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。
8760 8761 8762 |
# File 'lib/v20180317/models.rb', line 8760 def Port @Port end |
#Status ⇒ Object
● on:表示探测中。 ● off:表示健康检查关闭。 ● health:表示健康。 ● unhealth:表示异常。 注意:此字段可能返回 null,表示取不到有效值。
8760 8761 8762 |
# File 'lib/v20180317/models.rb', line 8760 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
8770 8771 8772 8773 8774 8775 8776 |
# File 'lib/v20180317/models.rb', line 8770 def deserialize(params) @InstanceIp = params['InstanceIp'] @Status = params['Status'] @InstanceId = params['InstanceId'] @Port = params['Port'] @EniId = params['EniId'] end |