Class: TencentCloud::Cvm::V20170312::EnterRescueModeRequest

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

Overview

EnterRescueMode请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, password = nil, username = nil, forcestop = nil) ⇒ EnterRescueModeRequest

Returns a new instance of EnterRescueModeRequest.



3634
3635
3636
3637
3638
3639
# File 'lib/v20170312/models.rb', line 3634

def initialize(instanceid=nil, password=nil, username=nil, forcestop=nil)
  @InstanceId = instanceid
  @Password = password
  @Username = username
  @ForceStop = forcestop
end

Instance Attribute Details

#ForceStopObject

Parameters:

  • InstanceId:

    需要进入救援模式的实例id

  • Password:

    救援模式下系统密码

  • Username:

    救援模式下系统用户名

  • ForceStop:

    是否强制关机



3632
3633
3634
# File 'lib/v20170312/models.rb', line 3632

def ForceStop
  @ForceStop
end

#InstanceIdObject

Parameters:

  • InstanceId:

    需要进入救援模式的实例id

  • Password:

    救援模式下系统密码

  • Username:

    救援模式下系统用户名

  • ForceStop:

    是否强制关机



3632
3633
3634
# File 'lib/v20170312/models.rb', line 3632

def InstanceId
  @InstanceId
end

#PasswordObject

Parameters:

  • InstanceId:

    需要进入救援模式的实例id

  • Password:

    救援模式下系统密码

  • Username:

    救援模式下系统用户名

  • ForceStop:

    是否强制关机



3632
3633
3634
# File 'lib/v20170312/models.rb', line 3632

def Password
  @Password
end

#UsernameObject

Parameters:

  • InstanceId:

    需要进入救援模式的实例id

  • Password:

    救援模式下系统密码

  • Username:

    救援模式下系统用户名

  • ForceStop:

    是否强制关机



3632
3633
3634
# File 'lib/v20170312/models.rb', line 3632

def Username
  @Username
end

Instance Method Details

#deserialize(params) ⇒ Object



3641
3642
3643
3644
3645
3646
# File 'lib/v20170312/models.rb', line 3641

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Password = params['Password']
  @Username = params['Username']
  @ForceStop = params['ForceStop']
end