Class: TencentCloud::Ecm::V20190719::BatchTarget
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::BatchTarget
- Defined in:
- lib/v20190719/models.rb
Overview
负责均衡批量目标项
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(listenerid = nil, port = nil, instanceid = nil, eniip = nil, weight = nil) ⇒ BatchTarget
constructor
A new instance of BatchTarget.
Constructor Details
#initialize(listenerid = nil, port = nil, instanceid = nil, eniip = nil, weight = nil) ⇒ BatchTarget
Returns a new instance of BatchTarget.
1030 1031 1032 1033 1034 1035 1036 |
# File 'lib/v20190719/models.rb', line 1030 def initialize(listenerid=nil, port=nil, instanceid=nil, eniip=nil, weight=nil) @ListenerId = listenerid @Port = port @InstanceId = instanceid @EniIp = eniip @Weight = weight end |
Instance Attribute Details
#EniIp ⇒ Object
1028 1029 1030 |
# File 'lib/v20190719/models.rb', line 1028 def EniIp @EniIp end |
#InstanceId ⇒ Object
1028 1029 1030 |
# File 'lib/v20190719/models.rb', line 1028 def InstanceId @InstanceId end |
#ListenerId ⇒ Object
1028 1029 1030 |
# File 'lib/v20190719/models.rb', line 1028 def ListenerId @ListenerId end |
#Port ⇒ Object
1028 1029 1030 |
# File 'lib/v20190719/models.rb', line 1028 def Port @Port end |
#Weight ⇒ Object
1028 1029 1030 |
# File 'lib/v20190719/models.rb', line 1028 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
1038 1039 1040 1041 1042 1043 1044 |
# File 'lib/v20190719/models.rb', line 1038 def deserialize(params) @ListenerId = params['ListenerId'] @Port = params['Port'] @InstanceId = params['InstanceId'] @EniIp = params['EniIp'] @Weight = params['Weight'] end |