Class: TencentCloud::Bmlb::V20180625::BindL4Backend
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::BindL4Backend
- Defined in:
- lib/v20180625/models.rb
Overview
待与四层监听器绑定的物理机主机、虚拟机或半托管主机信息。目前一个四层监听器下面最多允许绑定255个主机端口。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(port = nil, instanceid = nil, weight = nil, probeport = nil) ⇒ BindL4Backend
constructor
A new instance of BindL4Backend.
Constructor Details
#initialize(port = nil, instanceid = nil, weight = nil, probeport = nil) ⇒ BindL4Backend
Returns a new instance of BindL4Backend.
33 34 35 36 37 38 |
# File 'lib/v20180625/models.rb', line 33 def initialize(port=nil, instanceid=nil, weight=nil, probeport=nil) @Port = port @InstanceId = instanceid @Weight = weight @ProbePort = probeport end |
Instance Attribute Details
#InstanceId ⇒ Object
31 32 33 |
# File 'lib/v20180625/models.rb', line 31 def InstanceId @InstanceId end |
#Port ⇒ Object
31 32 33 |
# File 'lib/v20180625/models.rb', line 31 def Port @Port end |
#ProbePort ⇒ Object
31 32 33 |
# File 'lib/v20180625/models.rb', line 31 def ProbePort @ProbePort end |
#Weight ⇒ Object
31 32 33 |
# File 'lib/v20180625/models.rb', line 31 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
40 41 42 43 44 45 |
# File 'lib/v20180625/models.rb', line 40 def deserialize(params) @Port = params['Port'] @InstanceId = params['InstanceId'] @Weight = params['Weight'] @ProbePort = params['ProbePort'] end |