Class: TencentCloud::Clb::V20180317::ClassicalTargetInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::ClassicalTargetInfo
- Defined in:
- lib/v20180317/models.rb
Overview
传统型负载均衡的后端信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, weight = nil) ⇒ ClassicalTargetInfo
constructor
A new instance of ClassicalTargetInfo.
Constructor Details
#initialize(instanceid = nil, weight = nil) ⇒ ClassicalTargetInfo
Returns a new instance of ClassicalTargetInfo.
870 871 872 873 |
# File 'lib/v20180317/models.rb', line 870 def initialize(instanceid=nil, weight=nil) @InstanceId = instanceid @Weight = weight end |
Instance Attribute Details
#InstanceId ⇒ Object
868 869 870 |
# File 'lib/v20180317/models.rb', line 868 def InstanceId @InstanceId end |
#Weight ⇒ Object
868 869 870 |
# File 'lib/v20180317/models.rb', line 868 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
875 876 877 878 |
# File 'lib/v20180317/models.rb', line 875 def deserialize(params) @InstanceId = params['InstanceId'] @Weight = params['Weight'] end |