Class: TencentCloud::Emr::V20190103::HostVolumeContext

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

Overview

Pod HostPath挂载方式描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(volumepath = nil) ⇒ HostVolumeContext

Returns a new instance of HostVolumeContext.



7184
7185
7186
# File 'lib/v20190103/models.rb', line 7184

def initialize(volumepath=nil)
  @VolumePath = volumepath
end

Instance Attribute Details

#VolumePathObject

Parameters:

  • Pod挂载宿主机的目录。资源对宿主机的挂载点,指定的挂载点对应了宿主机的路径,该挂载点在Pod中作为数据存储目录使用



7182
7183
7184
# File 'lib/v20190103/models.rb', line 7182

def VolumePath
  @VolumePath
end

Instance Method Details

#deserialize(params) ⇒ Object



7188
7189
7190
# File 'lib/v20190103/models.rb', line 7188

def deserialize(params)
  @VolumePath = params['VolumePath']
end