Class: TencentCloud::Emr::V20190103::VolumeSetting
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::VolumeSetting
- Defined in:
- lib/v20190103/models.rb
Overview
数据卷目录设置
Instance Attribute Summary collapse
-
#HostPath ⇒ Object
- HOST_PATH表示支持本机路径
- NEW_PVC表示新建PVC
组件角色支持的数据卷类型可参考 EMR on TKE 集群部署说明:[部署说明](https://cloud.tencent.com/document/product/589/94254) 注意:此字段可能返回 null,表示取不到有效值。. -
#VolumeType ⇒ Object
- HOST_PATH表示支持本机路径
- NEW_PVC表示新建PVC
组件角色支持的数据卷类型可参考 EMR on TKE 集群部署说明:[部署说明](https://cloud.tencent.com/document/product/589/94254) 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(volumetype = nil, hostpath = nil) ⇒ VolumeSetting
constructor
A new instance of VolumeSetting.
Constructor Details
#initialize(volumetype = nil, hostpath = nil) ⇒ VolumeSetting
Returns a new instance of VolumeSetting.
14848 14849 14850 14851 |
# File 'lib/v20190103/models.rb', line 14848 def initialize(volumetype=nil, hostpath=nil) @VolumeType = volumetype @HostPath = hostpath end |
Instance Attribute Details
#HostPath ⇒ Object
14846 14847 14848 |
# File 'lib/v20190103/models.rb', line 14846 def HostPath @HostPath end |
#VolumeType ⇒ Object
14846 14847 14848 |
# File 'lib/v20190103/models.rb', line 14846 def VolumeType @VolumeType end |
Instance Method Details
#deserialize(params) ⇒ Object
14853 14854 14855 14856 14857 14858 14859 |
# File 'lib/v20190103/models.rb', line 14853 def deserialize(params) @VolumeType = params['VolumeType'] unless params['HostPath'].nil? @HostPath = HostPathVolumeSource.new @HostPath.deserialize(params['HostPath']) end end |