Class: TencentCloud::Clb::V20180317::LBOperateProtectInfo

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

Overview

负载均衡的操作保护信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loadbalancerid = nil, protectstate = nil, operatoruin = nil, description = nil, modifytime = nil) ⇒ LBOperateProtectInfo

Returns a new instance of LBOperateProtectInfo.



5168
5169
5170
5171
5172
5173
5174
# File 'lib/v20180317/models.rb', line 5168

def initialize(loadbalancerid=nil, protectstate=nil, operatoruin=nil, description=nil, modifytime=nil)
  @LoadBalancerId = loadbalancerid
  @ProtectState = protectstate
  @OperatorUin = operatoruin
  @Description = description
  @ModifyTime = modifytime
end

Instance Attribute Details

#DescriptionObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LoadBalancerId:

    负载均衡实例 ID。

  • ProtectState:

    保护状态,true:表示开启了操作保护,false:表示未开启操作保护。

  • OperatorUin:

    操作保护的设置uin。

  • Description:

    设置操作保护时的描述信息。

  • ModifyTime:

    最后修改时间。



5166
5167
5168
# File 'lib/v20180317/models.rb', line 5166

def Description
  @Description
end

#LoadBalancerIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LoadBalancerId:

    负载均衡实例 ID。

  • ProtectState:

    保护状态,true:表示开启了操作保护,false:表示未开启操作保护。

  • OperatorUin:

    操作保护的设置uin。

  • Description:

    设置操作保护时的描述信息。

  • ModifyTime:

    最后修改时间。



5166
5167
5168
# File 'lib/v20180317/models.rb', line 5166

def LoadBalancerId
  @LoadBalancerId
end

#ModifyTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LoadBalancerId:

    负载均衡实例 ID。

  • ProtectState:

    保护状态,true:表示开启了操作保护,false:表示未开启操作保护。

  • OperatorUin:

    操作保护的设置uin。

  • Description:

    设置操作保护时的描述信息。

  • ModifyTime:

    最后修改时间。



5166
5167
5168
# File 'lib/v20180317/models.rb', line 5166

def ModifyTime
  @ModifyTime
end

#OperatorUinObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LoadBalancerId:

    负载均衡实例 ID。

  • ProtectState:

    保护状态,true:表示开启了操作保护,false:表示未开启操作保护。

  • OperatorUin:

    操作保护的设置uin。

  • Description:

    设置操作保护时的描述信息。

  • ModifyTime:

    最后修改时间。



5166
5167
5168
# File 'lib/v20180317/models.rb', line 5166

def OperatorUin
  @OperatorUin
end

#ProtectStateObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • LoadBalancerId:

    负载均衡实例 ID。

  • ProtectState:

    保护状态,true:表示开启了操作保护,false:表示未开启操作保护。

  • OperatorUin:

    操作保护的设置uin。

  • Description:

    设置操作保护时的描述信息。

  • ModifyTime:

    最后修改时间。



5166
5167
5168
# File 'lib/v20180317/models.rb', line 5166

def ProtectState
  @ProtectState
end

Instance Method Details

#deserialize(params) ⇒ Object



5176
5177
5178
5179
5180
5181
5182
# File 'lib/v20180317/models.rb', line 5176

def deserialize(params)
  @LoadBalancerId = params['LoadBalancerId']
  @ProtectState = params['ProtectState']
  @OperatorUin = params['OperatorUin']
  @Description = params['Description']
  @ModifyTime = params['ModifyTime']
end