Class: TencentCloud::Clb::V20180317::ClassicalHealth

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180317/models.rb

Overview

传统型负载均衡后端服务的健康状态

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#HealthStatusObject



697
698
699
# File 'lib/v20180317/models.rb', line 697

def HealthStatus
  @HealthStatus
end

#IPObject



697
698
699
# File 'lib/v20180317/models.rb', line 697

def IP
  @IP
end

#ListenerPortObject



697
698
699
# File 'lib/v20180317/models.rb', line 697

def ListenerPort
  @ListenerPort
end

#PortObject



697
698
699
# File 'lib/v20180317/models.rb', line 697

def Port
  @Port
end

#ProtocolObject



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