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.
872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 |
# File 'lib/v20180317/models.rb', line 872 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
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def CertCaId @CertCaId end |
#CertId ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def CertId @CertId end |
#HealthNum ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def HealthNum @HealthNum end |
#HealthSwitch ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def HealthSwitch @HealthSwitch end |
#HttpCheckPath ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def HttpCheckPath @HttpCheckPath end |
#HttpCode ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def HttpCode @HttpCode end |
#HttpHash ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def HttpHash @HttpHash end |
#InstancePort ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def InstancePort @InstancePort end |
#IntervalTime ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def IntervalTime @IntervalTime end |
#ListenerId ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def ListenerId @ListenerId end |
#ListenerName ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def ListenerName @ListenerName end |
#ListenerPort ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def ListenerPort @ListenerPort end |
#Protocol ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def Protocol @Protocol end |
#SessionExpire ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def SessionExpire @SessionExpire end |
#SSLMode ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def SSLMode @SSLMode end |
#Status ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def Status @Status end |
#TimeOut ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def TimeOut @TimeOut end |
#UnhealthNum ⇒ Object
870 871 872 |
# File 'lib/v20180317/models.rb', line 870 def UnhealthNum @UnhealthNum end |
Instance Method Details
#deserialize(params) ⇒ Object
893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 |
# File 'lib/v20180317/models.rb', line 893 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 |