Class: TencentCloud::Tcb::V20180608::CloudBaseRunServiceVolumeMount

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

Overview

对标 EKS VolumeMount

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CloudBaseRunServiceVolumeMount.



1165
1166
1167
1168
1169
1170
1171
# File 'lib/v20180608/models.rb', line 1165

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

Instance Attribute Details

#MountPathObject

Parameters:

  • Name:

    Volume 名称

  • MountPath:

    挂载路径

  • ReadOnly:

    是否只读

  • SubPath:

    子路径

  • MountPropagation:

    传播挂载方式



1163
1164
1165
# File 'lib/v20180608/models.rb', line 1163

def MountPath
  @MountPath
end

#MountPropagationObject

Parameters:

  • Name:

    Volume 名称

  • MountPath:

    挂载路径

  • ReadOnly:

    是否只读

  • SubPath:

    子路径

  • MountPropagation:

    传播挂载方式



1163
1164
1165
# File 'lib/v20180608/models.rb', line 1163

def MountPropagation
  @MountPropagation
end

#NameObject

Parameters:

  • Name:

    Volume 名称

  • MountPath:

    挂载路径

  • ReadOnly:

    是否只读

  • SubPath:

    子路径

  • MountPropagation:

    传播挂载方式



1163
1164
1165
# File 'lib/v20180608/models.rb', line 1163

def Name
  @Name
end

#ReadOnlyObject

Parameters:

  • Name:

    Volume 名称

  • MountPath:

    挂载路径

  • ReadOnly:

    是否只读

  • SubPath:

    子路径

  • MountPropagation:

    传播挂载方式



1163
1164
1165
# File 'lib/v20180608/models.rb', line 1163

def ReadOnly
  @ReadOnly
end

#SubPathObject

Parameters:

  • Name:

    Volume 名称

  • MountPath:

    挂载路径

  • ReadOnly:

    是否只读

  • SubPath:

    子路径

  • MountPropagation:

    传播挂载方式



1163
1164
1165
# File 'lib/v20180608/models.rb', line 1163

def SubPath
  @SubPath
end

Instance Method Details

#deserialize(params) ⇒ Object



1173
1174
1175
1176
1177
1178
1179
# File 'lib/v20180608/models.rb', line 1173

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