Class: TencentCloud::Thpc::V20220401::SystemDisk
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::SystemDisk
- Defined in:
- lib/v20220401/models.rb
Overview
描述了操作系统所在块设备即系统盘的信息
Instance Attribute Summary collapse
-
#DiskSize ⇒ Object
默认取值:当前有库存的硬盘类型。.
-
#DiskType ⇒ Object
默认取值:当前有库存的硬盘类型。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(disktype = nil, disksize = nil) ⇒ SystemDisk
constructor
A new instance of SystemDisk.
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
#DiskSize ⇒ Object
默认取值:当前有库存的硬盘类型。
2007 2008 2009 |
# File 'lib/v20220401/models.rb', line 2007 def DiskSize @DiskSize end |
#DiskType ⇒ Object
默认取值:当前有库存的硬盘类型。
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 |