Class: TencentCloud::Bmlb::V20180625::LoadBalancerPortInfoListener
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::LoadBalancerPortInfoListener
- Defined in:
- lib/v20180625/models.rb
Overview
获取黑石负载均衡端口相关信息时返回的监听器信息(四层和七层)。
Instance Attribute Summary collapse
- #Bandwidth ⇒ Object
- #ListenerId ⇒ Object
- #ListenerName ⇒ Object
- #LoadBalancerPort ⇒ Object
- #Port ⇒ Object
- #Protocol ⇒ Object
- #Status ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(listenerid = nil, listenername = nil, protocol = nil, loadbalancerport = nil, bandwidth = nil, status = nil, port = nil) ⇒ LoadBalancerPortInfoListener
constructor
A new instance of LoadBalancerPortInfoListener.
Constructor Details
#initialize(listenerid = nil, listenername = nil, protocol = nil, loadbalancerport = nil, bandwidth = nil, status = nil, port = nil) ⇒ LoadBalancerPortInfoListener
Returns a new instance of LoadBalancerPortInfoListener.
3247 3248 3249 3250 3251 3252 3253 3254 3255 |
# File 'lib/v20180625/models.rb', line 3247 def initialize(listenerid=nil, listenername=nil, protocol=nil, loadbalancerport=nil, bandwidth=nil, status=nil, port=nil) @ListenerId = listenerid @ListenerName = listenername @Protocol = protocol @LoadBalancerPort = loadbalancerport @Bandwidth = bandwidth @Status = status @Port = port end |
Instance Attribute Details
#Bandwidth ⇒ Object
3245 3246 3247 |
# File 'lib/v20180625/models.rb', line 3245 def Bandwidth @Bandwidth end |
#ListenerId ⇒ Object
3245 3246 3247 |
# File 'lib/v20180625/models.rb', line 3245 def ListenerId @ListenerId end |
#ListenerName ⇒ Object
3245 3246 3247 |
# File 'lib/v20180625/models.rb', line 3245 def ListenerName @ListenerName end |
#LoadBalancerPort ⇒ Object
3245 3246 3247 |
# File 'lib/v20180625/models.rb', line 3245 def LoadBalancerPort @LoadBalancerPort end |
#Port ⇒ Object
3245 3246 3247 |
# File 'lib/v20180625/models.rb', line 3245 def Port @Port end |
#Protocol ⇒ Object
3245 3246 3247 |
# File 'lib/v20180625/models.rb', line 3245 def Protocol @Protocol end |
#Status ⇒ Object
3245 3246 3247 |
# File 'lib/v20180625/models.rb', line 3245 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
3257 3258 3259 3260 3261 3262 3263 3264 3265 |
# File 'lib/v20180625/models.rb', line 3257 def deserialize(params) @ListenerId = params['ListenerId'] @ListenerName = params['ListenerName'] @Protocol = params['Protocol'] @LoadBalancerPort = params['LoadBalancerPort'] @Bandwidth = params['Bandwidth'] @Status = params['Status'] @Port = params['Port'] end |