Class: TencentCloud::Clb::V20180317::ModifyTargetGroupAttributeRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::ModifyTargetGroupAttributeRequest
- Defined in:
- lib/v20180317/models.rb
Overview
ModifyTargetGroupAttribute请求参数结构体
Instance Attribute Summary collapse
- #HealthCheck ⇒ Object
- #KeepaliveEnable ⇒ Object
- #Port ⇒ Object
- #ScheduleAlgorithm ⇒ Object
- #SessionExpireTime ⇒ Object
- #SnatEnable ⇒ Object
- #TargetGroupId ⇒ Object
- #TargetGroupName ⇒ Object
- #Weight ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(targetgroupid = nil, targetgroupname = nil, port = nil, schedulealgorithm = nil, healthcheck = nil, weight = nil, keepaliveenable = nil, sessionexpiretime = nil, snatenable = nil) ⇒ ModifyTargetGroupAttributeRequest
constructor
A new instance of ModifyTargetGroupAttributeRequest.
Constructor Details
#initialize(targetgroupid = nil, targetgroupname = nil, port = nil, schedulealgorithm = nil, healthcheck = nil, weight = nil, keepaliveenable = nil, sessionexpiretime = nil, snatenable = nil) ⇒ ModifyTargetGroupAttributeRequest
Returns a new instance of ModifyTargetGroupAttributeRequest.
6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 |
# File 'lib/v20180317/models.rb', line 6840 def initialize(targetgroupid=nil, targetgroupname=nil, port=nil, schedulealgorithm=nil, healthcheck=nil, weight=nil, keepaliveenable=nil, sessionexpiretime=nil, snatenable=nil) @TargetGroupId = targetgroupid @TargetGroupName = targetgroupname @Port = port @ScheduleAlgorithm = schedulealgorithm @HealthCheck = healthcheck @Weight = weight @KeepaliveEnable = keepaliveenable @SessionExpireTime = sessionexpiretime @SnatEnable = snatenable end |
Instance Attribute Details
#HealthCheck ⇒ Object
6838 6839 6840 |
# File 'lib/v20180317/models.rb', line 6838 def HealthCheck @HealthCheck end |
#KeepaliveEnable ⇒ Object
6838 6839 6840 |
# File 'lib/v20180317/models.rb', line 6838 def KeepaliveEnable @KeepaliveEnable end |
#Port ⇒ Object
6838 6839 6840 |
# File 'lib/v20180317/models.rb', line 6838 def Port @Port end |
#ScheduleAlgorithm ⇒ Object
6838 6839 6840 |
# File 'lib/v20180317/models.rb', line 6838 def ScheduleAlgorithm @ScheduleAlgorithm end |
#SessionExpireTime ⇒ Object
6838 6839 6840 |
# File 'lib/v20180317/models.rb', line 6838 def SessionExpireTime @SessionExpireTime end |
#SnatEnable ⇒ Object
6838 6839 6840 |
# File 'lib/v20180317/models.rb', line 6838 def SnatEnable @SnatEnable end |
#TargetGroupId ⇒ Object
6838 6839 6840 |
# File 'lib/v20180317/models.rb', line 6838 def TargetGroupId @TargetGroupId end |
#TargetGroupName ⇒ Object
6838 6839 6840 |
# File 'lib/v20180317/models.rb', line 6838 def TargetGroupName @TargetGroupName end |
#Weight ⇒ Object
6838 6839 6840 |
# File 'lib/v20180317/models.rb', line 6838 def Weight @Weight end |
Instance Method Details
#deserialize(params) ⇒ Object
6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 |
# File 'lib/v20180317/models.rb', line 6852 def deserialize(params) @TargetGroupId = params['TargetGroupId'] @TargetGroupName = params['TargetGroupName'] @Port = params['Port'] @ScheduleAlgorithm = params['ScheduleAlgorithm'] unless params['HealthCheck'].nil? @HealthCheck = TargetGroupHealthCheck.new @HealthCheck.deserialize(params['HealthCheck']) end @Weight = params['Weight'] @KeepaliveEnable = params['KeepaliveEnable'] @SessionExpireTime = params['SessionExpireTime'] @SnatEnable = params['SnatEnable'] end |