Class: TencentCloud::Cbs::V20170312::AutoMountConfiguration

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

Overview

描述了新购云硬盘时自动将云硬盘初始化并挂载至云服务器内部的配置。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, mountpoint = nil, filesystemtype = nil) ⇒ AutoMountConfiguration

Returns a new instance of AutoMountConfiguration.



287
288
289
290
291
# File 'lib/v20170312/models.rb', line 287

def initialize(instanceid=nil, mountpoint=nil, filesystemtype=nil)
  @InstanceId = instanceid
  @MountPoint = mountpoint
  @FileSystemType = filesystemtype
end

Instance Attribute Details

#FileSystemTypeObject

Parameters:

  • InstanceId:

    要挂载到的实例ID。

  • MountPoint:

    子机内的挂载点。

  • FileSystemType:

    文件系统类型,支持的有 ext4、xfs。



285
286
287
# File 'lib/v20170312/models.rb', line 285

def FileSystemType
  @FileSystemType
end

#InstanceIdObject

Parameters:

  • InstanceId:

    要挂载到的实例ID。

  • MountPoint:

    子机内的挂载点。

  • FileSystemType:

    文件系统类型,支持的有 ext4、xfs。



285
286
287
# File 'lib/v20170312/models.rb', line 285

def InstanceId
  @InstanceId
end

#MountPointObject

Parameters:

  • InstanceId:

    要挂载到的实例ID。

  • MountPoint:

    子机内的挂载点。

  • FileSystemType:

    文件系统类型,支持的有 ext4、xfs。



285
286
287
# File 'lib/v20170312/models.rb', line 285

def MountPoint
  @MountPoint
end

Instance Method Details

#deserialize(params) ⇒ Object



293
294
295
296
297
# File 'lib/v20170312/models.rb', line 293

def deserialize(params)
  @InstanceId = params['InstanceId']
  @MountPoint = params['MountPoint']
  @FileSystemType = params['FileSystemType']
end