Class: TencentCloud::Bmlb::V20180625::CreateL4Listener
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::CreateL4Listener
- Defined in:
- lib/v20180625/models.rb
Overview
用于创建四层监听器的监听器信息。目前一个负载均衡下面最多允许创建50个监听器。
Instance Attribute Summary collapse
- #Bandwidth ⇒ Object
- #CustomHealthSwitch ⇒ Object
- #HealthNum ⇒ Object
- #HealthRequest ⇒ Object
- #HealthResponse ⇒ Object
- #HealthSwitch ⇒ Object
- #InputType ⇒ Object
- #IntervalTime ⇒ Object
- #LineSeparatorType ⇒ Object
- #ListenerName ⇒ Object
- #LoadBalancerPort ⇒ Object
- #Protocol ⇒ Object
- #SessionExpire ⇒ Object
- #TimeOut ⇒ Object
- #ToaFlag ⇒ Object
- #UnhealthNum ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerport = nil, protocol = nil, listenername = nil, sessionexpire = nil, healthswitch = nil, timeout = nil, intervaltime = nil, healthnum = nil, unhealthnum = nil, bandwidth = nil, customhealthswitch = nil, inputtype = nil, lineseparatortype = nil, healthrequest = nil, healthresponse = nil, toaflag = nil) ⇒ CreateL4Listener
constructor
A new instance of CreateL4Listener.
Constructor Details
#initialize(loadbalancerport = nil, protocol = nil, listenername = nil, sessionexpire = nil, healthswitch = nil, timeout = nil, intervaltime = nil, healthnum = nil, unhealthnum = nil, bandwidth = nil, customhealthswitch = nil, inputtype = nil, lineseparatortype = nil, healthrequest = nil, healthresponse = nil, toaflag = nil) ⇒ CreateL4Listener
Returns a new instance of CreateL4Listener.
366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 |
# File 'lib/v20180625/models.rb', line 366 def initialize(loadbalancerport=nil, protocol=nil, listenername=nil, sessionexpire=nil, healthswitch=nil, timeout=nil, intervaltime=nil, healthnum=nil, unhealthnum=nil, bandwidth=nil, customhealthswitch=nil, inputtype=nil, lineseparatortype=nil, healthrequest=nil, healthresponse=nil, toaflag=nil) @LoadBalancerPort = loadbalancerport @Protocol = protocol @ListenerName = listenername @SessionExpire = sessionexpire @HealthSwitch = healthswitch @TimeOut = timeout @IntervalTime = intervaltime @HealthNum = healthnum @UnhealthNum = unhealthnum @Bandwidth = bandwidth @CustomHealthSwitch = customhealthswitch @InputType = inputtype @LineSeparatorType = lineseparatortype @HealthRequest = healthrequest @HealthResponse = healthresponse @ToaFlag = toaflag end |
Instance Attribute Details
#Bandwidth ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def Bandwidth @Bandwidth end |
#CustomHealthSwitch ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def CustomHealthSwitch @CustomHealthSwitch end |
#HealthNum ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def HealthNum @HealthNum end |
#HealthRequest ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def HealthRequest @HealthRequest end |
#HealthResponse ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def HealthResponse @HealthResponse end |
#HealthSwitch ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def HealthSwitch @HealthSwitch end |
#InputType ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def InputType @InputType end |
#IntervalTime ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def IntervalTime @IntervalTime end |
#LineSeparatorType ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def LineSeparatorType @LineSeparatorType end |
#ListenerName ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def ListenerName @ListenerName end |
#LoadBalancerPort ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def LoadBalancerPort @LoadBalancerPort end |
#Protocol ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def Protocol @Protocol end |
#SessionExpire ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def SessionExpire @SessionExpire end |
#TimeOut ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def TimeOut @TimeOut end |
#ToaFlag ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def ToaFlag @ToaFlag end |
#UnhealthNum ⇒ Object
364 365 366 |
# File 'lib/v20180625/models.rb', line 364 def UnhealthNum @UnhealthNum end |
Instance Method Details
#deserialize(params) ⇒ Object
385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 |
# File 'lib/v20180625/models.rb', line 385 def deserialize(params) @LoadBalancerPort = params['LoadBalancerPort'] @Protocol = params['Protocol'] @ListenerName = params['ListenerName'] @SessionExpire = params['SessionExpire'] @HealthSwitch = params['HealthSwitch'] @TimeOut = params['TimeOut'] @IntervalTime = params['IntervalTime'] @HealthNum = params['HealthNum'] @UnhealthNum = params['UnhealthNum'] @Bandwidth = params['Bandwidth'] @CustomHealthSwitch = params['CustomHealthSwitch'] @InputType = params['InputType'] @LineSeparatorType = params['LineSeparatorType'] @HealthRequest = params['HealthRequest'] @HealthResponse = params['HealthResponse'] @ToaFlag = params['ToaFlag'] end |