Class: TencentCloud::Cvm::V20170312::ChcDeployExtraConfig

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

Overview

chc部署网络minos引导配置。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(miniostype = nil, boottype = nil, bootfile = nil, nextserveraddress = nil) ⇒ ChcDeployExtraConfig

Returns a new instance of ChcDeployExtraConfig.



353
354
355
356
357
358
# File 'lib/v20170312/models.rb', line 353

def initialize(miniostype=nil, boottype=nil, bootfile=nil, nextserveraddress=nil)
  @MiniOsType = miniostype
  @BootType = boottype
  @BootFile = bootfile
  @NextServerAddress = nextserveraddress
end

Instance Attribute Details

#BootFileObject

Parameters:

  • MiniOsType:

    minos类型。是使用腾讯云的minios,还是客户自己的minios。

  • BootType:

    服务器的架构和启动方式。取值为x86_legacy, arm_uefi。

  • BootFile:

    PXE使用的引导文件。默认为pxelinux.0。

  • NextServerAddress:

    tftp服务器的ip地址。



351
352
353
# File 'lib/v20170312/models.rb', line 351

def BootFile
  @BootFile
end

#BootTypeObject

Parameters:

  • MiniOsType:

    minos类型。是使用腾讯云的minios,还是客户自己的minios。

  • BootType:

    服务器的架构和启动方式。取值为x86_legacy, arm_uefi。

  • BootFile:

    PXE使用的引导文件。默认为pxelinux.0。

  • NextServerAddress:

    tftp服务器的ip地址。



351
352
353
# File 'lib/v20170312/models.rb', line 351

def BootType
  @BootType
end

#MiniOsTypeObject

Parameters:

  • MiniOsType:

    minos类型。是使用腾讯云的minios,还是客户自己的minios。

  • BootType:

    服务器的架构和启动方式。取值为x86_legacy, arm_uefi。

  • BootFile:

    PXE使用的引导文件。默认为pxelinux.0。

  • NextServerAddress:

    tftp服务器的ip地址。



351
352
353
# File 'lib/v20170312/models.rb', line 351

def MiniOsType
  @MiniOsType
end

#NextServerAddressObject

Parameters:

  • MiniOsType:

    minos类型。是使用腾讯云的minios,还是客户自己的minios。

  • BootType:

    服务器的架构和启动方式。取值为x86_legacy, arm_uefi。

  • BootFile:

    PXE使用的引导文件。默认为pxelinux.0。

  • NextServerAddress:

    tftp服务器的ip地址。



351
352
353
# File 'lib/v20170312/models.rb', line 351

def NextServerAddress
  @NextServerAddress
end

Instance Method Details

#deserialize(params) ⇒ Object



360
361
362
363
364
365
# File 'lib/v20170312/models.rb', line 360

def deserialize(params)
  @MiniOsType = params['MiniOsType']
  @BootType = params['BootType']
  @BootFile = params['BootFile']
  @NextServerAddress = params['NextServerAddress']
end