Class: TencentCloud::Thpc::V20220401::SystemDisk

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

Overview

描述了操作系统所在块设备即系统盘的信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(disktype = nil, disksize = nil) ⇒ SystemDisk

Returns a new instance of SystemDisk.



2009
2010
2011
2012
# File 'lib/v20220401/models.rb', line 2009

def initialize(disktype=nil, disksize=nil)
  @DiskType = disktype
  @DiskSize = disksize
end

Instance Attribute Details

#DiskSizeObject

默认取值:当前有库存的硬盘类型。

Parameters:

  • DiskSize:

    系统盘大小,单位:GB。默认值为 50



2007
2008
2009
# File 'lib/v20220401/models.rb', line 2007

def DiskSize
  @DiskSize
end

#DiskTypeObject

默认取值:当前有库存的硬盘类型。

Parameters:

  • DiskSize:

    系统盘大小,单位:GB。默认值为 50



2007
2008
2009
# File 'lib/v20220401/models.rb', line 2007

def DiskType
  @DiskType
end

Instance Method Details

#deserialize(params) ⇒ Object



2014
2015
2016
2017
# File 'lib/v20220401/models.rb', line 2014

def deserialize(params)
  @DiskType = params['DiskType']
  @DiskSize = params['DiskSize']
end