Class: TencentCloud::Tke::V20180525::VolumeMount

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

Overview

数据卷挂载路径信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mountpath = nil, name = nil, mountpropagation = nil, readonly = nil, subpath = nil, subpathexpr = nil) ⇒ VolumeMount

Returns a new instance of VolumeMount.



19696
19697
19698
19699
19700
19701
19702
19703
# File 'lib/v20180525/models.rb', line 19696

def initialize(mountpath=nil, name=nil, mountpropagation=nil, readonly=nil, subpath=nil, subpathexpr=nil)
  @MountPath = mountpath
  @Name = name
  @MountPropagation = mountpropagation
  @ReadOnly = readonly
  @SubPath = subpath
  @SubPathExpr = subpathexpr
end

Instance Attribute Details

#MountPathObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MountPath:

    挂载路径

  • Name:

    volume名称

  • MountPropagation:

    传播挂载方式

  • ReadOnly:

    是否只读

  • SubPath:

    子路径

  • SubPathExpr:

    子路径表达式



19694
19695
19696
# File 'lib/v20180525/models.rb', line 19694

def MountPath
  @MountPath
end

#MountPropagationObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MountPath:

    挂载路径

  • Name:

    volume名称

  • MountPropagation:

    传播挂载方式

  • ReadOnly:

    是否只读

  • SubPath:

    子路径

  • SubPathExpr:

    子路径表达式



19694
19695
19696
# File 'lib/v20180525/models.rb', line 19694

def MountPropagation
  @MountPropagation
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MountPath:

    挂载路径

  • Name:

    volume名称

  • MountPropagation:

    传播挂载方式

  • ReadOnly:

    是否只读

  • SubPath:

    子路径

  • SubPathExpr:

    子路径表达式



19694
19695
19696
# File 'lib/v20180525/models.rb', line 19694

def Name
  @Name
end

#ReadOnlyObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MountPath:

    挂载路径

  • Name:

    volume名称

  • MountPropagation:

    传播挂载方式

  • ReadOnly:

    是否只读

  • SubPath:

    子路径

  • SubPathExpr:

    子路径表达式



19694
19695
19696
# File 'lib/v20180525/models.rb', line 19694

def ReadOnly
  @ReadOnly
end

#SubPathObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MountPath:

    挂载路径

  • Name:

    volume名称

  • MountPropagation:

    传播挂载方式

  • ReadOnly:

    是否只读

  • SubPath:

    子路径

  • SubPathExpr:

    子路径表达式



19694
19695
19696
# File 'lib/v20180525/models.rb', line 19694

def SubPath
  @SubPath
end

#SubPathExprObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • MountPath:

    挂载路径

  • Name:

    volume名称

  • MountPropagation:

    传播挂载方式

  • ReadOnly:

    是否只读

  • SubPath:

    子路径

  • SubPathExpr:

    子路径表达式



19694
19695
19696
# File 'lib/v20180525/models.rb', line 19694

def SubPathExpr
  @SubPathExpr
end

Instance Method Details

#deserialize(params) ⇒ Object



19705
19706
19707
19708
19709
19710
19711
19712
# File 'lib/v20180525/models.rb', line 19705

def deserialize(params)
  @MountPath = params['MountPath']
  @Name = params['Name']
  @MountPropagation = params['MountPropagation']
  @ReadOnly = params['ReadOnly']
  @SubPath = params['SubPath']
  @SubPathExpr = params['SubPathExpr']
end