Class: TencentCloud::Ecm::V20190719::Target
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::Target
- Defined in:
- lib/v20190719/models.rb
Overview
负责均衡后端目标
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(port = nil, instanceid = nil, weight = nil, eniip = nil) ⇒ Target
constructor
A new instance of Target.
Constructor Details
#initialize(port = nil, instanceid = nil, weight = nil, eniip = nil) ⇒ Target
Returns a new instance of Target.
11061 11062 11063 11064 11065 11066 |
# File 'lib/v20190719/models.rb', line 11061 def initialize(port=nil, instanceid=nil, weight=nil, eniip=nil) @Port = port @InstanceId = instanceid @Weight = weight @EniIp = eniip end |
Instance Attribute Details
#EniIp ⇒ Object
11059 11060 11061 |
# File 'lib/v20190719/models.rb', line 11059 def EniIp @EniIp end |
#InstanceId ⇒ Object
11059 11060 11061 |
# File 'lib/v20190719/models.rb', line 11059 def InstanceId @InstanceId end |
#Port ⇒ Object
11059 11060 11061 |
# File 'lib/v20190719/models.rb', line 11059 def Port @Port end |
#Weight ⇒ Object
11059 11060 11061 |
# File 'lib/v20190719/models.rb', line 11059 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
11068 11069 11070 11071 11072 11073 |
# File 'lib/v20190719/models.rb', line 11068 def deserialize(params) @Port = params['Port'] @InstanceId = params['InstanceId'] @Weight = params['Weight'] @EniIp = params['EniIp'] end |