Class: TencentCloud::Tke::V20220501::Disk

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

Overview

节点系统盘和数据盘配置

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#AutoFormatAndMountObject

Parameters:

  • DiskType:

    云盘类型

  • DiskSize:

    云盘大小(G)

  • AutoFormatAndMount:

    是否自动化格式盘并挂载

  • FileSystem:

    文件系统

  • MountTarget:

    挂载目录



853
854
855
# File 'lib/v20220501/models.rb', line 853

def AutoFormatAndMount
  @AutoFormatAndMount
end

#DiskSizeObject

Parameters:

  • DiskType:

    云盘类型

  • DiskSize:

    云盘大小(G)

  • AutoFormatAndMount:

    是否自动化格式盘并挂载

  • FileSystem:

    文件系统

  • MountTarget:

    挂载目录



853
854
855
# File 'lib/v20220501/models.rb', line 853

def DiskSize
  @DiskSize
end

#DiskTypeObject

Parameters:

  • DiskType:

    云盘类型

  • DiskSize:

    云盘大小(G)

  • AutoFormatAndMount:

    是否自动化格式盘并挂载

  • FileSystem:

    文件系统

  • MountTarget:

    挂载目录



853
854
855
# File 'lib/v20220501/models.rb', line 853

def DiskType
  @DiskType
end

#FileSystemObject

Parameters:

  • DiskType:

    云盘类型

  • DiskSize:

    云盘大小(G)

  • AutoFormatAndMount:

    是否自动化格式盘并挂载

  • FileSystem:

    文件系统

  • MountTarget:

    挂载目录



853
854
855
# File 'lib/v20220501/models.rb', line 853

def FileSystem
  @FileSystem
end

#MountTargetObject

Parameters:

  • DiskType:

    云盘类型

  • DiskSize:

    云盘大小(G)

  • AutoFormatAndMount:

    是否自动化格式盘并挂载

  • FileSystem:

    文件系统

  • MountTarget:

    挂载目录



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