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.



469
470
471
472
473
# File 'lib/v20170312/models.rb', line 469

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

Instance Attribute Details

#ChcIdObject

Parameters:

  • ChcId:

    CHC物理服务器的实例id

  • State:

    CHC物理服务器的状态

  • DenyActions:

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



467
468
469
# File 'lib/v20170312/models.rb', line 467

def ChcId
  @ChcId
end

#DenyActionsObject

Parameters:

  • ChcId:

    CHC物理服务器的实例id

  • State:

    CHC物理服务器的状态

  • DenyActions:

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



467
468
469
# File 'lib/v20170312/models.rb', line 467

def DenyActions
  @DenyActions
end

#StateObject

Parameters:

  • ChcId:

    CHC物理服务器的实例id

  • State:

    CHC物理服务器的状态

  • DenyActions:

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



467
468
469
# File 'lib/v20170312/models.rb', line 467

def State
  @State
end

Instance Method Details

#deserialize(params) ⇒ Object



475
476
477
478
479
# File 'lib/v20170312/models.rb', line 475

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