Class: TencentCloud::Clb::V20180317::TargetHealth
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::TargetHealth
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20180317/models.rb
Overview
描述一个Target的健康信息
Instance Attribute Summary collapse
- #HealthStatus ⇒ Object
- #HealthStatusDetail ⇒ Object
- #HealthStatusDetial ⇒ Object
- #IP ⇒ Object
- #Port ⇒ Object
- #TargetGroupId ⇒ Object
- #TargetId ⇒ Object
- #Weight ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, port = nil, healthstatus = nil, targetid = nil, healthstatusdetail = nil, healthstatusdetial = nil, targetgroupid = nil, weight = nil) ⇒ TargetHealth
constructor
A new instance of TargetHealth.
Constructor Details
#initialize(ip = nil, port = nil, healthstatus = nil, targetid = nil, healthstatusdetail = nil, healthstatusdetial = nil, targetgroupid = nil, weight = nil) ⇒ TargetHealth
Returns a new instance of TargetHealth.
8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 |
# File 'lib/v20180317/models.rb', line 8843 def initialize(ip=nil, port=nil, healthstatus=nil, targetid=nil, healthstatusdetail=nil, healthstatusdetial=nil, targetgroupid=nil, weight=nil) @IP = ip @Port = port @HealthStatus = healthstatus @TargetId = targetid @HealthStatusDetail = healthstatusdetail @HealthStatusDetial = healthstatusdetial @TargetGroupId = targetgroupid @Weight = weight end |
Instance Attribute Details
#HealthStatus ⇒ Object
8838 8839 8840 |
# File 'lib/v20180317/models.rb', line 8838 def HealthStatus @HealthStatus end |
#HealthStatusDetail ⇒ Object
8838 8839 8840 |
# File 'lib/v20180317/models.rb', line 8838 def HealthStatusDetail @HealthStatusDetail end |
#HealthStatusDetial ⇒ Object
8838 8839 8840 |
# File 'lib/v20180317/models.rb', line 8838 def HealthStatusDetial @HealthStatusDetial end |
#IP ⇒ Object
8838 8839 8840 |
# File 'lib/v20180317/models.rb', line 8838 def IP @IP end |
#Port ⇒ Object
8838 8839 8840 |
# File 'lib/v20180317/models.rb', line 8838 def Port @Port end |
#TargetGroupId ⇒ Object
8838 8839 8840 |
# File 'lib/v20180317/models.rb', line 8838 def TargetGroupId @TargetGroupId end |
#TargetId ⇒ Object
8838 8839 8840 |
# File 'lib/v20180317/models.rb', line 8838 def TargetId @TargetId end |
#Weight ⇒ Object
8838 8839 8840 |
# File 'lib/v20180317/models.rb', line 8838 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 |
# File 'lib/v20180317/models.rb', line 8854 def deserialize(params) @IP = params['IP'] @Port = params['Port'] @HealthStatus = params['HealthStatus'] @TargetId = params['TargetId'] @HealthStatusDetail = params['HealthStatusDetail'] @HealthStatusDetial = params['HealthStatusDetial'] @TargetGroupId = params['TargetGroupId'] @Weight = params['Weight'] end |