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.
8787 8788 8789 8790 8791 8792 8793 |
# File 'lib/v20180317/models.rb', line 8787 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,表示取不到有效值。
8785 8786 8787 |
# File 'lib/v20180317/models.rb', line 8785 def EniId @EniId end |
#InstanceId ⇒ Object
● on:表示探测中。● off:表示健康检查关闭。● health:表示健康。● unhealth:表示异常。注意:此字段可能返回 null,表示取不到有效值。
8785 8786 8787 |
# File 'lib/v20180317/models.rb', line 8785 def InstanceId @InstanceId end |
#InstanceIp ⇒ Object
● on:表示探测中。● off:表示健康检查关闭。● health:表示健康。● unhealth:表示异常。注意:此字段可能返回 null,表示取不到有效值。
8785 8786 8787 |
# File 'lib/v20180317/models.rb', line 8785 def InstanceIp @InstanceIp end |
#Port ⇒ Object
● on:表示探测中。● off:表示健康检查关闭。● health:表示健康。● unhealth:表示异常。注意:此字段可能返回 null,表示取不到有效值。
8785 8786 8787 |
# File 'lib/v20180317/models.rb', line 8785 def Port @Port end |
#Status ⇒ Object
● on:表示探测中。● off:表示健康检查关闭。● health:表示健康。● unhealth:表示异常。注意:此字段可能返回 null,表示取不到有效值。
8785 8786 8787 |
# File 'lib/v20180317/models.rb', line 8785 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
8795 8796 8797 8798 8799 8800 8801 |
# File 'lib/v20180317/models.rb', line 8795 def deserialize(params) @InstanceIp = params['InstanceIp'] @Status = params['Status'] @InstanceId = params['InstanceId'] @Port = params['Port'] @EniId = params['EniId'] end |