Class: TencentCloud::Bmlb::V20180625::L7ListenerInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::L7ListenerInfo
- Defined in:
- lib/v20180625/models.rb
Overview
查询绑定了某主机的七层监听器时返回的七层监听器信息。
Instance Attribute Summary collapse
- #AddTimestamp ⇒ Object
- #Bandwidth ⇒ Object
- #CertCaId ⇒ Object
- #CertId ⇒ Object
- #ForwardProtocol ⇒ Object
- #ListenerId ⇒ Object
- #ListenerName ⇒ Object
- #ListenerType ⇒ Object
- #LoadBalancerPort ⇒ Object
- #Protocol ⇒ Object
- #RuleSet ⇒ Object
- #SslMode ⇒ Object
- #Status ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(listenerid = nil, listenername = nil, protocol = nil, loadbalancerport = nil, bandwidth = nil, listenertype = nil, sslmode = nil, certid = nil, certcaid = nil, status = nil, addtimestamp = nil, ruleset = nil, forwardprotocol = nil) ⇒ L7ListenerInfo
constructor
A new instance of L7ListenerInfo.
Constructor Details
#initialize(listenerid = nil, listenername = nil, protocol = nil, loadbalancerport = nil, bandwidth = nil, listenertype = nil, sslmode = nil, certid = nil, certcaid = nil, status = nil, addtimestamp = nil, ruleset = nil, forwardprotocol = nil) ⇒ L7ListenerInfo
Returns a new instance of L7ListenerInfo.
2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 |
# File 'lib/v20180625/models.rb', line 2806 def initialize(listenerid=nil, listenername=nil, protocol=nil, loadbalancerport=nil, bandwidth=nil, listenertype=nil, sslmode=nil, certid=nil, certcaid=nil, status=nil, =nil, ruleset=nil, forwardprotocol=nil) @ListenerId = listenerid @ListenerName = listenername @Protocol = protocol @LoadBalancerPort = loadbalancerport @Bandwidth = bandwidth @ListenerType = listenertype @SslMode = sslmode @CertId = certid @CertCaId = certcaid @Status = status @AddTimestamp = @RuleSet = ruleset @ForwardProtocol = forwardprotocol end |
Instance Attribute Details
#AddTimestamp ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def AddTimestamp @AddTimestamp end |
#Bandwidth ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def Bandwidth @Bandwidth end |
#CertCaId ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def CertCaId @CertCaId end |
#CertId ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def CertId @CertId end |
#ForwardProtocol ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def ForwardProtocol @ForwardProtocol end |
#ListenerId ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def ListenerId @ListenerId end |
#ListenerName ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def ListenerName @ListenerName end |
#ListenerType ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def ListenerType @ListenerType end |
#LoadBalancerPort ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def LoadBalancerPort @LoadBalancerPort end |
#Protocol ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def Protocol @Protocol end |
#RuleSet ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def RuleSet @RuleSet end |
#SslMode ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def SslMode @SslMode end |
#Status ⇒ Object
2804 2805 2806 |
# File 'lib/v20180625/models.rb', line 2804 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 |
# File 'lib/v20180625/models.rb', line 2822 def deserialize(params) @ListenerId = params['ListenerId'] @ListenerName = params['ListenerName'] @Protocol = params['Protocol'] @LoadBalancerPort = params['LoadBalancerPort'] @Bandwidth = params['Bandwidth'] @ListenerType = params['ListenerType'] @SslMode = params['SslMode'] @CertId = params['CertId'] @CertCaId = params['CertCaId'] @Status = params['Status'] @AddTimestamp = params['AddTimestamp'] unless params['RuleSet'].nil? @RuleSet = [] params['RuleSet'].each do |i| l7listenerinforule_tmp = L7ListenerInfoRule.new l7listenerinforule_tmp.deserialize(i) @RuleSet << l7listenerinforule_tmp end end @ForwardProtocol = params['ForwardProtocol'] end |