Class: TencentCloud::Bmlb::V20180625::CreateL7Listener
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::CreateL7Listener
- Defined in:
- lib/v20180625/models.rb
Overview
用于创建四层监听器的监听器信息。目前一个负载均衡下面最多允许创建50个七层监听器。
Instance Attribute Summary collapse
- #Bandwidth ⇒ Object
- #CertCaContent ⇒ Object
- #CertCaId ⇒ Object
- #CertCaName ⇒ Object
- #CertContent ⇒ Object
- #CertId ⇒ Object
- #CertKey ⇒ Object
- #CertName ⇒ Object
- #ForwardProtocol ⇒ Object
- #ListenerName ⇒ Object
- #LoadBalancerPort ⇒ Object
- #Protocol ⇒ Object
- #SslMode ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerport = nil, protocol = nil, listenername = nil, sslmode = nil, certid = nil, certname = nil, certcontent = nil, certkey = nil, certcaid = nil, certcaname = nil, certcacontent = nil, bandwidth = nil, forwardprotocol = nil) ⇒ CreateL7Listener
constructor
A new instance of CreateL7Listener.
Constructor Details
#initialize(loadbalancerport = nil, protocol = nil, listenername = nil, sslmode = nil, certid = nil, certname = nil, certcontent = nil, certkey = nil, certcaid = nil, certcaname = nil, certcacontent = nil, bandwidth = nil, forwardprotocol = nil) ⇒ CreateL7Listener
Returns a new instance of CreateL7Listener.
483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 |
# File 'lib/v20180625/models.rb', line 483 def initialize(loadbalancerport=nil, protocol=nil, listenername=nil, sslmode=nil, certid=nil, certname=nil, certcontent=nil, certkey=nil, certcaid=nil, certcaname=nil, certcacontent=nil, bandwidth=nil, forwardprotocol=nil) @LoadBalancerPort = loadbalancerport @Protocol = protocol @ListenerName = listenername @SslMode = sslmode @CertId = certid @CertName = certname @CertContent = certcontent @CertKey = certkey @CertCaId = certcaid @CertCaName = certcaname @CertCaContent = certcacontent @Bandwidth = bandwidth @ForwardProtocol = forwardprotocol end |
Instance Attribute Details
#Bandwidth ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def Bandwidth @Bandwidth end |
#CertCaContent ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def CertCaContent @CertCaContent end |
#CertCaId ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def CertCaId @CertCaId end |
#CertCaName ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def CertCaName @CertCaName end |
#CertContent ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def CertContent @CertContent end |
#CertId ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def CertId @CertId end |
#CertKey ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def CertKey @CertKey end |
#CertName ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def CertName @CertName end |
#ForwardProtocol ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def ForwardProtocol @ForwardProtocol end |
#ListenerName ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def ListenerName @ListenerName end |
#LoadBalancerPort ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def LoadBalancerPort @LoadBalancerPort end |
#Protocol ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def Protocol @Protocol end |
#SslMode ⇒ Object
481 482 483 |
# File 'lib/v20180625/models.rb', line 481 def SslMode @SslMode end |
Instance Method Details
#deserialize(params) ⇒ Object
499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 |
# File 'lib/v20180625/models.rb', line 499 def deserialize(params) @LoadBalancerPort = params['LoadBalancerPort'] @Protocol = params['Protocol'] @ListenerName = params['ListenerName'] @SslMode = params['SslMode'] @CertId = params['CertId'] @CertName = params['CertName'] @CertContent = params['CertContent'] @CertKey = params['CertKey'] @CertCaId = params['CertCaId'] @CertCaName = params['CertCaName'] @CertCaContent = params['CertCaContent'] @Bandwidth = params['Bandwidth'] @ForwardProtocol = params['ForwardProtocol'] end |