Class: TencentCloud::Clb::V20180317::ModifyTargetGroupAttributeRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180317/models.rb

Overview

ModifyTargetGroupAttribute请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(targetgroupid = nil, targetgroupname = nil, port = nil, weight = nil, keepaliveenable = nil, sessionexpiretime = nil) ⇒ ModifyTargetGroupAttributeRequest



6835
6836
6837
6838
6839
6840
6841
6842
# File 'lib/v20180317/models.rb', line 6835

def initialize(targetgroupid=nil, targetgroupname=nil, port=nil, weight=nil, keepaliveenable=nil, sessionexpiretime=nil)
  @TargetGroupId = targetgroupid
  @TargetGroupName = targetgroupname
  @Port = port
  @Weight = weight
  @KeepaliveEnable = keepaliveenable
  @SessionExpireTime = sessionexpiretime
end

Instance Attribute Details

#KeepaliveEnableObject

<ul>

<li>

</ul> v1目标组类型不支持设置Weight参数。



6833
6834
6835
# File 'lib/v20180317/models.rb', line 6833

def KeepaliveEnable
  @KeepaliveEnable
end

#PortObject

<ul>

<li>

</ul> v1目标组类型不支持设置Weight参数。



6833
6834
6835
# File 'lib/v20180317/models.rb', line 6833

def Port
  @Port
end

#SessionExpireTimeObject

<ul>

<li>

</ul> v1目标组类型不支持设置Weight参数。



6833
6834
6835
# File 'lib/v20180317/models.rb', line 6833

def SessionExpireTime
  @SessionExpireTime
end

#TargetGroupIdObject

<ul>

<li>

</ul> v1目标组类型不支持设置Weight参数。



6833
6834
6835
# File 'lib/v20180317/models.rb', line 6833

def TargetGroupId
  @TargetGroupId
end

#TargetGroupNameObject

<ul>

<li>

</ul> v1目标组类型不支持设置Weight参数。



6833
6834
6835
# File 'lib/v20180317/models.rb', line 6833

def TargetGroupName
  @TargetGroupName
end

#WeightObject

<ul>

<li>

</ul> v1目标组类型不支持设置Weight参数。



6833
6834
6835
# File 'lib/v20180317/models.rb', line 6833

def Weight
  @Weight
end

Instance Method Details

#deserialize(params) ⇒ Object



6844
6845
6846
6847
6848
6849
6850
6851
# File 'lib/v20180317/models.rb', line 6844

def deserialize(params)
  @TargetGroupId = params['TargetGroupId']
  @TargetGroupName = params['TargetGroupName']
  @Port = params['Port']
  @Weight = params['Weight']
  @KeepaliveEnable = params['KeepaliveEnable']
  @SessionExpireTime = params['SessionExpireTime']
end