Class: TencentCloud::Thpc::V20220401::DataDisk

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

Overview

描述了数据盘的信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DataDisk.



746
747
748
749
# File 'lib/v20220401/models.rb', line 746

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

Instance Attribute Details

#DiskSizeObject

Parameters:



744
745
746
# File 'lib/v20220401/models.rb', line 744

def DiskSize
  @DiskSize
end

#DiskTypeObject

Parameters:



744
745
746
# File 'lib/v20220401/models.rb', line 744

def DiskType
  @DiskType
end

Instance Method Details

#deserialize(params) ⇒ Object



751
752
753
754
# File 'lib/v20220401/models.rb', line 751

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