Class: TencentCloud::Iecp::V20210914::VolumeMount

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

Overview

数据挂载

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of VolumeMount.



6700
6701
6702
6703
6704
6705
# File 'lib/v20210914/models.rb', line 6700

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

Instance Attribute Details

#MountPathObject

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

Parameters:

  • Name:

    名称

  • MountPath:

    挂载路径

  • SubPath:

    子路径

  • ReadOnly:

    是否只读



6698
6699
6700
# File 'lib/v20210914/models.rb', line 6698

def MountPath
  @MountPath
end

#NameObject

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

Parameters:

  • Name:

    名称

  • MountPath:

    挂载路径

  • SubPath:

    子路径

  • ReadOnly:

    是否只读



6698
6699
6700
# File 'lib/v20210914/models.rb', line 6698

def Name
  @Name
end

#ReadOnlyObject

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

Parameters:

  • Name:

    名称

  • MountPath:

    挂载路径

  • SubPath:

    子路径

  • ReadOnly:

    是否只读



6698
6699
6700
# File 'lib/v20210914/models.rb', line 6698

def ReadOnly
  @ReadOnly
end

#SubPathObject

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

Parameters:

  • Name:

    名称

  • MountPath:

    挂载路径

  • SubPath:

    子路径

  • ReadOnly:

    是否只读



6698
6699
6700
# File 'lib/v20210914/models.rb', line 6698

def SubPath
  @SubPath
end

Instance Method Details

#deserialize(params) ⇒ Object



6707
6708
6709
6710
6711
6712
# File 'lib/v20210914/models.rb', line 6707

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