Class: TencentCloud::Cdb::V20170320::DiskTypeConfigItem

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

Overview

磁盘售卖类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(devicetype = nil, disktype = nil) ⇒ DiskTypeConfigItem

Returns a new instance of DiskTypeConfigItem.



8970
8971
8972
8973
# File 'lib/v20170320/models.rb', line 8970

def initialize(devicetype=nil, disktype=nil)
  @DeviceType = devicetype
  @DiskType = disktype
end

Instance Attribute Details

#DeviceTypeObject

Parameters:

  • DeviceType:

    磁盘对应的实例类型。仅支持单节点(云盘)和云盘版。

  • DiskType:

    可以选择的磁盘类型列表。



8968
8969
8970
# File 'lib/v20170320/models.rb', line 8968

def DeviceType
  @DeviceType
end

#DiskTypeObject

Parameters:

  • DeviceType:

    磁盘对应的实例类型。仅支持单节点(云盘)和云盘版。

  • DiskType:

    可以选择的磁盘类型列表。



8968
8969
8970
# File 'lib/v20170320/models.rb', line 8968

def DiskType
  @DiskType
end

Instance Method Details

#deserialize(params) ⇒ Object



8975
8976
8977
8978
# File 'lib/v20170320/models.rb', line 8975

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