Class: TencentCloud::Tke::V20220501::Disk
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::Disk
- Defined in:
- lib/v20220501/models.rb
Overview
节点系统盘和数据盘配置
Instance Attribute Summary collapse
- #AutoFormatAndMount ⇒ Object
- #DiskSize ⇒ Object
- #DiskType ⇒ Object
- #FileSystem ⇒ Object
- #MountTarget ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(disktype = nil, disksize = nil, autoformatandmount = nil, filesystem = nil, mounttarget = nil) ⇒ Disk
constructor
A new instance of Disk.
Constructor Details
#initialize(disktype = nil, disksize = nil, autoformatandmount = nil, filesystem = nil, mounttarget = nil) ⇒ Disk
Returns a new instance of Disk.
855 856 857 858 859 860 861 |
# File 'lib/v20220501/models.rb', line 855 def initialize(disktype=nil, disksize=nil, autoformatandmount=nil, filesystem=nil, mounttarget=nil) @DiskType = disktype @DiskSize = disksize @AutoFormatAndMount = autoformatandmount @FileSystem = filesystem @MountTarget = mounttarget end |
Instance Attribute Details
#AutoFormatAndMount ⇒ Object
853 854 855 |
# File 'lib/v20220501/models.rb', line 853 def AutoFormatAndMount @AutoFormatAndMount end |
#DiskSize ⇒ Object
853 854 855 |
# File 'lib/v20220501/models.rb', line 853 def DiskSize @DiskSize end |
#DiskType ⇒ Object
853 854 855 |
# File 'lib/v20220501/models.rb', line 853 def DiskType @DiskType end |
#FileSystem ⇒ Object
853 854 855 |
# File 'lib/v20220501/models.rb', line 853 def FileSystem @FileSystem end |
#MountTarget ⇒ Object
853 854 855 |
# File 'lib/v20220501/models.rb', line 853 def MountTarget @MountTarget end |
Instance Method Details
#deserialize(params) ⇒ Object
863 864 865 866 867 868 869 |
# File 'lib/v20220501/models.rb', line 863 def deserialize(params) @DiskType = params['DiskType'] @DiskSize = params['DiskSize'] @AutoFormatAndMount = params['AutoFormatAndMount'] @FileSystem = params['FileSystem'] @MountTarget = params['MountTarget'] end |