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
-
#KeepaliveEnable ⇒ Object
<ul> <li>取值范围[0, 100]</li> <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li> </ul> v1目标组类型不支持设置Weight参数。.
-
#Port ⇒ Object
<ul> <li>取值范围[0, 100]</li> <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li> </ul> v1目标组类型不支持设置Weight参数。.
-
#SessionExpireTime ⇒ Object
<ul> <li>取值范围[0, 100]</li> <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li> </ul> v1目标组类型不支持设置Weight参数。.
-
#TargetGroupId ⇒ Object
<ul> <li>取值范围[0, 100]</li> <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li> </ul> v1目标组类型不支持设置Weight参数。.
-
#TargetGroupName ⇒ Object
<ul> <li>取值范围[0, 100]</li> <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li> </ul> v1目标组类型不支持设置Weight参数。.
-
#Weight ⇒ Object
<ul> <li>取值范围[0, 100]</li> <li>设置该值后,添加后端服务到目标组时, 若后端服务不单独设置权重, 则使用这里的默认权重。 </li> </ul> v1目标组类型不支持设置Weight参数。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(targetgroupid = nil, targetgroupname = nil, port = nil, weight = nil, keepaliveenable = nil, sessionexpiretime = nil) ⇒ ModifyTargetGroupAttributeRequest
constructor
A new instance of ModifyTargetGroupAttributeRequest.
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
#KeepaliveEnable ⇒ Object
<ul>
<li>
</ul> v1目标组类型不支持设置Weight参数。
6833 6834 6835 |
# File 'lib/v20180317/models.rb', line 6833 def KeepaliveEnable @KeepaliveEnable end |
#Port ⇒ Object
<ul>
<li>
</ul> v1目标组类型不支持设置Weight参数。
6833 6834 6835 |
# File 'lib/v20180317/models.rb', line 6833 def Port @Port end |
#SessionExpireTime ⇒ Object
<ul>
<li>
</ul> v1目标组类型不支持设置Weight参数。
6833 6834 6835 |
# File 'lib/v20180317/models.rb', line 6833 def SessionExpireTime @SessionExpireTime end |
#TargetGroupId ⇒ Object
<ul>
<li>
</ul> v1目标组类型不支持设置Weight参数。
6833 6834 6835 |
# File 'lib/v20180317/models.rb', line 6833 def TargetGroupId @TargetGroupId end |
#TargetGroupName ⇒ Object
<ul>
<li>
</ul> v1目标组类型不支持设置Weight参数。
6833 6834 6835 |
# File 'lib/v20180317/models.rb', line 6833 def TargetGroupName @TargetGroupName end |
#Weight ⇒ Object
<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 |