Class: TencentCloud::Thpc::V20230321::DataDisk

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230321/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.



938
939
940
941
# File 'lib/v20230321/models.rb', line 938

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

Instance Attribute Details

#DiskSizeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:



936
937
938
# File 'lib/v20230321/models.rb', line 936

def DiskSize
  @DiskSize
end

#DiskTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:



936
937
938
# File 'lib/v20230321/models.rb', line 936

def DiskType
  @DiskType
end

Instance Method Details

#deserialize(params) ⇒ Object



943
944
945
946
# File 'lib/v20230321/models.rb', line 943

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