Class: TencentCloud::Tke::V20180525::DataDisk
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DataDisk
- Defined in:
- lib/v20180525/models.rb
Overview
描述了k8s节点数据盘相关配置与信息。
Instance Attribute Summary collapse
- #AutoFormatAndMount ⇒ Object
- #DiskPartition ⇒ Object
- #DiskSize ⇒ Object
- #DiskType ⇒ Object
- #FileSystem ⇒ Object
- #MountTarget ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(disktype = nil, filesystem = nil, disksize = nil, autoformatandmount = nil, mounttarget = nil, diskpartition = nil) ⇒ DataDisk
constructor
A new instance of DataDisk.
Constructor Details
#initialize(disktype = nil, filesystem = nil, disksize = nil, autoformatandmount = nil, mounttarget = nil, diskpartition = nil) ⇒ DataDisk
3971 3972 3973 3974 3975 3976 3977 3978 |
# File 'lib/v20180525/models.rb', line 3971 def initialize(disktype=nil, filesystem=nil, disksize=nil, autoformatandmount=nil, mounttarget=nil, diskpartition=nil) @DiskType = disktype @FileSystem = filesystem @DiskSize = disksize @AutoFormatAndMount = autoformatandmount @MountTarget = mounttarget @DiskPartition = diskpartition end |
Instance Attribute Details
#AutoFormatAndMount ⇒ Object
3969 3970 3971 |
# File 'lib/v20180525/models.rb', line 3969 def AutoFormatAndMount @AutoFormatAndMount end |
#DiskPartition ⇒ Object
3969 3970 3971 |
# File 'lib/v20180525/models.rb', line 3969 def DiskPartition @DiskPartition end |
#DiskSize ⇒ Object
3969 3970 3971 |
# File 'lib/v20180525/models.rb', line 3969 def DiskSize @DiskSize end |
#DiskType ⇒ Object
3969 3970 3971 |
# File 'lib/v20180525/models.rb', line 3969 def DiskType @DiskType end |
#FileSystem ⇒ Object
3969 3970 3971 |
# File 'lib/v20180525/models.rb', line 3969 def FileSystem @FileSystem end |
#MountTarget ⇒ Object
3969 3970 3971 |
# File 'lib/v20180525/models.rb', line 3969 def MountTarget @MountTarget end |
Instance Method Details
#deserialize(params) ⇒ Object
3980 3981 3982 3983 3984 3985 3986 3987 |
# File 'lib/v20180525/models.rb', line 3980 def deserialize(params) @DiskType = params['DiskType'] @FileSystem = params['FileSystem'] @DiskSize = params['DiskSize'] @AutoFormatAndMount = params['AutoFormatAndMount'] @MountTarget = params['MountTarget'] @DiskPartition = params['DiskPartition'] end |