Class: TencentCloud::Cbs::V20170312::AutoMountConfiguration
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::AutoMountConfiguration
- Defined in:
- lib/v20170312/models.rb
Overview
描述了新购云硬盘时自动将云硬盘初始化并挂载至云服务器内部的配置。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, mountpoint = nil, filesystemtype = nil) ⇒ AutoMountConfiguration
constructor
A new instance of AutoMountConfiguration.
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
#FileSystemType ⇒ Object
285 286 287 |
# File 'lib/v20170312/models.rb', line 285 def FileSystemType @FileSystemType end |
#InstanceId ⇒ Object
285 286 287 |
# File 'lib/v20170312/models.rb', line 285 def InstanceId @InstanceId end |
#MountPoint ⇒ Object
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 |