Class: TencentCloud::Emr::V20190103::VolumeSetting

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

Overview

数据卷目录设置

Instance Attribute Summary collapse

  • #VolumeType ⇒ Object
  • HOST_PATH表示支持本机路径
  • NEW_PVC表示新建PVC
  • 组件角色支持的数据卷类型可参考 EMR on TKE 集群部署说明:[部署说明](https://cloud.tencent.com/document/product/589/94254) 注意:此字段可能返回 null,表示取不到有效值。.

    Instance Method Summary collapse

    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

    #HostPathObject

  • HOST_PATH表示支持本机路径
  • NEW_PVC表示新建PVC
  • 组件角色支持的数据卷类型可参考 EMR on TKE 集群部署说明:[部署说明](https://cloud.tencent.com/document/product/589/94254) 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • 数据卷类型

    • 主机路径信息

    
    
    14846
    14847
    14848
    # File 'lib/v20190103/models.rb', line 14846
    
    def HostPath
      @HostPath
    end

    #VolumeTypeObject

  • HOST_PATH表示支持本机路径
  • NEW_PVC表示新建PVC
  • 组件角色支持的数据卷类型可参考 EMR on TKE 集群部署说明:[部署说明](https://cloud.tencent.com/document/product/589/94254) 注意:此字段可能返回 null,表示取不到有效值。

    Parameters:

    • 数据卷类型

    • 主机路径信息

    
    
    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