Class: TencentCloud::Bmlb::V20180625::BindL7Backend
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bmlb::V20180625::BindL7Backend
- 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) ⇒ BindL7Backend
constructor
A new instance of BindL7Backend.
Constructor Details
#initialize(port = nil, instanceid = nil, weight = nil) ⇒ BindL7Backend
Returns a new instance of BindL7Backend.
114 115 116 117 118 |
# File 'lib/v20180625/models.rb', line 114 def initialize(port=nil, instanceid=nil, weight=nil) @Port = port @InstanceId = instanceid @Weight = weight end |
Instance Attribute Details
#InstanceId ⇒ Object
112 113 114 |
# File 'lib/v20180625/models.rb', line 112 def InstanceId @InstanceId end |
#Port ⇒ Object
112 113 114 |
# File 'lib/v20180625/models.rb', line 112 def Port @Port end |
#Weight ⇒ Object
112 113 114 |
# File 'lib/v20180625/models.rb', line 112 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
120 121 122 123 124 |
# File 'lib/v20180625/models.rb', line 120 def deserialize(params) @Port = params['Port'] @InstanceId = params['InstanceId'] @Weight = params['Weight'] end |