Class: TencentCloud::Waf::V20180125::LoadBalancer
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::LoadBalancer
- Defined in:
- lib/v20180125/models.rb
Overview
负载均衡的监听器
Instance Attribute Summary collapse
- #ListenerId ⇒ Object
- #ListenerName ⇒ Object
- #LoadBalancerDomain ⇒ Object
- #LoadBalancerId ⇒ Object
- #LoadBalancerName ⇒ Object
- #LoadBalancerType ⇒ Object
- #NumericalVpcId ⇒ Object
- #Protocol ⇒ Object
- #Region ⇒ Object
- #Vip ⇒ Object
- #Vport ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(loadbalancerid = nil, loadbalancername = nil, listenerid = nil, listenername = nil, vport = nil, region = nil, protocol = nil, zone = nil, vip = nil, numericalvpcid = nil, loadbalancertype = nil, loadbalancerdomain = nil) ⇒ LoadBalancer
constructor
A new instance of LoadBalancer.
Constructor Details
#initialize(loadbalancerid = nil, loadbalancername = nil, listenerid = nil, listenername = nil, vport = nil, region = nil, protocol = nil, zone = nil, vip = nil, numericalvpcid = nil, loadbalancertype = nil, loadbalancerdomain = nil) ⇒ LoadBalancer
Returns a new instance of LoadBalancer.
13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 |
# File 'lib/v20180125/models.rb', line 13352 def initialize(loadbalancerid=nil, loadbalancername=nil, listenerid=nil, listenername=nil, vport=nil, region=nil, protocol=nil, zone=nil, vip=nil, numericalvpcid=nil, loadbalancertype=nil, loadbalancerdomain=nil) @LoadBalancerId = loadbalancerid @LoadBalancerName = loadbalancername @ListenerId = listenerid @ListenerName = listenername @Vport = vport @Region = region @Protocol = protocol @Zone = zone @Vip = vip @NumericalVpcId = numericalvpcid @LoadBalancerType = loadbalancertype @LoadBalancerDomain = loadbalancerdomain end |
Instance Attribute Details
#ListenerId ⇒ Object
13350 13351 13352 |
# File 'lib/v20180125/models.rb', line 13350 def ListenerId @ListenerId end |
#ListenerName ⇒ Object
13350 13351 13352 |
# File 'lib/v20180125/models.rb', line 13350 def ListenerName @ListenerName end |
#LoadBalancerDomain ⇒ Object
13350 13351 13352 |
# File 'lib/v20180125/models.rb', line 13350 def LoadBalancerDomain @LoadBalancerDomain end |
#LoadBalancerId ⇒ Object
13350 13351 13352 |
# File 'lib/v20180125/models.rb', line 13350 def LoadBalancerId @LoadBalancerId end |
#LoadBalancerName ⇒ Object
13350 13351 13352 |
# File 'lib/v20180125/models.rb', line 13350 def LoadBalancerName @LoadBalancerName end |
#LoadBalancerType ⇒ Object
13350 13351 13352 |
# File 'lib/v20180125/models.rb', line 13350 def LoadBalancerType @LoadBalancerType end |
#NumericalVpcId ⇒ Object
13350 13351 13352 |
# File 'lib/v20180125/models.rb', line 13350 def NumericalVpcId @NumericalVpcId end |
#Protocol ⇒ Object
13350 13351 13352 |
# File 'lib/v20180125/models.rb', line 13350 def Protocol @Protocol end |
#Region ⇒ Object
13350 13351 13352 |
# File 'lib/v20180125/models.rb', line 13350 def Region @Region end |
#Vip ⇒ Object
13350 13351 13352 |
# File 'lib/v20180125/models.rb', line 13350 def Vip @Vip end |
#Vport ⇒ Object
13350 13351 13352 |
# File 'lib/v20180125/models.rb', line 13350 def Vport @Vport end |
#Zone ⇒ Object
13350 13351 13352 |
# File 'lib/v20180125/models.rb', line 13350 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 |
# File 'lib/v20180125/models.rb', line 13367 def deserialize(params) @LoadBalancerId = params['LoadBalancerId'] @LoadBalancerName = params['LoadBalancerName'] @ListenerId = params['ListenerId'] @ListenerName = params['ListenerName'] @Vport = params['Vport'] @Region = params['Region'] @Protocol = params['Protocol'] @Zone = params['Zone'] @Vip = params['Vip'] @NumericalVpcId = params['NumericalVpcId'] @LoadBalancerType = params['LoadBalancerType'] @LoadBalancerDomain = params['LoadBalancerDomain'] end |