Class: TencentCloud::Tcb::V20180608::CloudBaseRunServiceVolumeMount
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::CloudBaseRunServiceVolumeMount
- Defined in:
- lib/v20180608/models.rb
Overview
对标 EKS VolumeMount
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, mountpath = nil, readonly = nil, subpath = nil, mountpropagation = nil) ⇒ CloudBaseRunServiceVolumeMount
constructor
A new instance of CloudBaseRunServiceVolumeMount.
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
#MountPath ⇒ Object
1163 1164 1165 |
# File 'lib/v20180608/models.rb', line 1163 def MountPath @MountPath end |
#MountPropagation ⇒ Object
1163 1164 1165 |
# File 'lib/v20180608/models.rb', line 1163 def MountPropagation @MountPropagation end |
#Name ⇒ Object
1163 1164 1165 |
# File 'lib/v20180608/models.rb', line 1163 def Name @Name end |
#ReadOnly ⇒ Object
1163 1164 1165 |
# File 'lib/v20180608/models.rb', line 1163 def ReadOnly @ReadOnly end |
#SubPath ⇒ Object
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 |