Class: TencentCloud::Clb::V20180317::ClassicalListener
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::ClassicalListener
- Defined in:
- lib/v20180317/models.rb
Overview
传统型负载均衡监听器信息
Instance Attribute Summary collapse
- #CertCaId ⇒ Object
- #CertId ⇒ Object
- #HealthNum ⇒ Object
- #HealthSwitch ⇒ Object
- #HttpCheckPath ⇒ Object
- #HttpCode ⇒ Object
- #HttpHash ⇒ Object
- #InstancePort ⇒ Object
- #IntervalTime ⇒ Object
- #ListenerId ⇒ Object
- #ListenerName ⇒ Object
- #ListenerPort ⇒ Object
- #Protocol ⇒ Object
- #SessionExpire ⇒ Object
- #SSLMode ⇒ Object
- #Status ⇒ Object
- #TimeOut ⇒ Object
- #UnhealthNum ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(listenerid = nil, listenerport = nil, instanceport = nil, listenername = nil, protocol = nil, sessionexpire = nil, healthswitch = nil, timeout = nil, intervaltime = nil, healthnum = nil, unhealthnum = nil, httphash = nil, httpcode = nil, httpcheckpath = nil, sslmode = nil, certid = nil, certcaid = nil, status = nil) ⇒ ClassicalListener
constructor
A new instance of ClassicalListener.
Constructor Details
#initialize(listenerid = nil, listenerport = nil, instanceport = nil, listenername = nil, protocol = nil, sessionexpire = nil, healthswitch = nil, timeout = nil, intervaltime = nil, healthnum = nil, unhealthnum = nil, httphash = nil, httpcode = nil, httpcheckpath = nil, sslmode = nil, certid = nil, certcaid = nil, status = nil) ⇒ ClassicalListener
Returns a new instance of ClassicalListener.
788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 |
# File 'lib/v20180317/models.rb', line 788 def initialize(listenerid=nil, listenerport=nil, instanceport=nil, listenername=nil, protocol=nil, sessionexpire=nil, healthswitch=nil, timeout=nil, intervaltime=nil, healthnum=nil, unhealthnum=nil, httphash=nil, httpcode=nil, httpcheckpath=nil, sslmode=nil, certid=nil, certcaid=nil, status=nil) @ListenerId = listenerid @ListenerPort = listenerport @InstancePort = instanceport @ListenerName = listenername @Protocol = protocol @SessionExpire = sessionexpire @HealthSwitch = healthswitch @TimeOut = timeout @IntervalTime = intervaltime @HealthNum = healthnum @UnhealthNum = unhealthnum @HttpHash = httphash @HttpCode = httpcode @HttpCheckPath = httpcheckpath @SSLMode = sslmode @CertId = certid @CertCaId = certcaid @Status = status end |
Instance Attribute Details
#CertCaId ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def CertCaId @CertCaId end |
#CertId ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def CertId @CertId end |
#HealthNum ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def HealthNum @HealthNum end |
#HealthSwitch ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def HealthSwitch @HealthSwitch end |
#HttpCheckPath ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def HttpCheckPath @HttpCheckPath end |
#HttpCode ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def HttpCode @HttpCode end |
#HttpHash ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def HttpHash @HttpHash end |
#InstancePort ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def InstancePort @InstancePort end |
#IntervalTime ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def IntervalTime @IntervalTime end |
#ListenerId ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def ListenerId @ListenerId end |
#ListenerName ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def ListenerName @ListenerName end |
#ListenerPort ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def ListenerPort @ListenerPort end |
#Protocol ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def Protocol @Protocol end |
#SessionExpire ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def SessionExpire @SessionExpire end |
#SSLMode ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def SSLMode @SSLMode end |
#Status ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def Status @Status end |
#TimeOut ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def TimeOut @TimeOut end |
#UnhealthNum ⇒ Object
786 787 788 |
# File 'lib/v20180317/models.rb', line 786 def UnhealthNum @UnhealthNum end |
Instance Method Details
#deserialize(params) ⇒ Object
809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 |
# File 'lib/v20180317/models.rb', line 809 def deserialize(params) @ListenerId = params['ListenerId'] @ListenerPort = params['ListenerPort'] @InstancePort = params['InstancePort'] @ListenerName = params['ListenerName'] @Protocol = params['Protocol'] @SessionExpire = params['SessionExpire'] @HealthSwitch = params['HealthSwitch'] @TimeOut = params['TimeOut'] @IntervalTime = params['IntervalTime'] @HealthNum = params['HealthNum'] @UnhealthNum = params['UnhealthNum'] @HttpHash = params['HttpHash'] @HttpCode = params['HttpCode'] @HttpCheckPath = params['HttpCheckPath'] @SSLMode = params['SSLMode'] @CertId = params['CertId'] @CertCaId = params['CertCaId'] @Status = params['Status'] end |