Class: TencentCloud::Cvm::V20170312::ChcHostDeniedActions

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

Overview

CHC物理服务器实例禁止操作的返回结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(chcid = nil, state = nil, denyactions = nil) ⇒ ChcHostDeniedActions

Returns a new instance of ChcHostDeniedActions.



573
574
575
576
577
# File 'lib/v20170312/models.rb', line 573

def initialize(chcid=nil, state=nil, denyactions=nil)
  @ChcId = chcid
  @State = state
  @DenyActions = denyactions
end

Instance Attribute Details

#ChcId ⇒ Object

Parameters:

  • ChcId: —

    CHC物理服务器的实例id

  • State: —

    CHC物理服务器的状态

  • DenyActions: —

    当前CHC物理服务器禁止做的操作



571
572
573
# File 'lib/v20170312/models.rb', line 571

def ChcId
  @ChcId
end

#DenyActions ⇒ Object

Parameters:

  • ChcId: —

    CHC物理服务器的实例id

  • State: —

    CHC物理服务器的状态

  • DenyActions: —

    当前CHC物理服务器禁止做的操作



571
572
573
# File 'lib/v20170312/models.rb', line 571

def DenyActions
  @DenyActions
end

#State ⇒ Object

Parameters:

  • ChcId: —

    CHC物理服务器的实例id

  • State: —

    CHC物理服务器的状态

  • DenyActions: —

    当前CHC物理服务器禁止做的操作



571
572
573
# File 'lib/v20170312/models.rb', line 571

def State
  @State
end

Instance Method Details

#deserialize(params) ⇒ Object



579
580
581
582
583
# File 'lib/v20170312/models.rb', line 579

def deserialize(params)
  @ChcId = params['ChcId']
  @State = params['State']
  @DenyActions = params['DenyActions']
end