Class: TencentCloud::Clb::V20180317::ClassicalHealth
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::ClassicalHealth
- Defined in:
- lib/v20180317/models.rb
Overview
传统型负载均衡后端服务的健康状态
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, port = nil, listenerport = nil, protocol = nil, healthstatus = nil) ⇒ ClassicalHealth
constructor
A new instance of ClassicalHealth.
Constructor Details
#initialize(ip = nil, port = nil, listenerport = nil, protocol = nil, healthstatus = nil) ⇒ ClassicalHealth
699 700 701 702 703 704 705 |
# File 'lib/v20180317/models.rb', line 699 def initialize(ip=nil, port=nil, listenerport=nil, protocol=nil, healthstatus=nil) @IP = ip @Port = port @ListenerPort = listenerport @Protocol = protocol @HealthStatus = healthstatus end |
Instance Attribute Details
#HealthStatus ⇒ Object
697 698 699 |
# File 'lib/v20180317/models.rb', line 697 def HealthStatus @HealthStatus end |
#IP ⇒ Object
697 698 699 |
# File 'lib/v20180317/models.rb', line 697 def IP @IP end |
#ListenerPort ⇒ Object
697 698 699 |
# File 'lib/v20180317/models.rb', line 697 def ListenerPort @ListenerPort end |
#Port ⇒ Object
697 698 699 |
# File 'lib/v20180317/models.rb', line 697 def Port @Port end |
#Protocol ⇒ Object
697 698 699 |
# File 'lib/v20180317/models.rb', line 697 def Protocol @Protocol end |
Instance Method Details
#deserialize(params) ⇒ Object
707 708 709 710 711 712 713 |
# File 'lib/v20180317/models.rb', line 707 def deserialize(params) @IP = params['IP'] @Port = params['Port'] @ListenerPort = params['ListenerPort'] @Protocol = params['Protocol'] @HealthStatus = params['HealthStatus'] end |