Class: TencentCloud::Tcb::V20180608::CloudBaseRunNfsVolumeSource
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::CloudBaseRunNfsVolumeSource
- Defined in:
- lib/v20180608/models.rb
Overview
nfs挂载资源
Instance Attribute Summary collapse
- #EnableEmptyDirVolume ⇒ Object
- #Path ⇒ Object
- #ReadOnly ⇒ Object
- #SecretName ⇒ Object
- #Server ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(server = nil, path = nil, readonly = nil, secretname = nil, enableemptydirvolume = nil) ⇒ CloudBaseRunNfsVolumeSource
constructor
A new instance of CloudBaseRunNfsVolumeSource.
Constructor Details
#initialize(server = nil, path = nil, readonly = nil, secretname = nil, enableemptydirvolume = nil) ⇒ CloudBaseRunNfsVolumeSource
Returns a new instance of CloudBaseRunNfsVolumeSource.
736 737 738 739 740 741 742 |
# File 'lib/v20180608/models.rb', line 736 def initialize(server=nil, path=nil, readonly=nil, secretname=nil, enableemptydirvolume=nil) @Server = server @Path = path @ReadOnly = readonly @SecretName = secretname @EnableEmptyDirVolume = enableemptydirvolume end |
Instance Attribute Details
#EnableEmptyDirVolume ⇒ Object
734 735 736 |
# File 'lib/v20180608/models.rb', line 734 def EnableEmptyDirVolume @EnableEmptyDirVolume end |
#Path ⇒ Object
734 735 736 |
# File 'lib/v20180608/models.rb', line 734 def Path @Path end |
#ReadOnly ⇒ Object
734 735 736 |
# File 'lib/v20180608/models.rb', line 734 def ReadOnly @ReadOnly end |
#SecretName ⇒ Object
734 735 736 |
# File 'lib/v20180608/models.rb', line 734 def SecretName @SecretName end |
#Server ⇒ Object
734 735 736 |
# File 'lib/v20180608/models.rb', line 734 def Server @Server end |
Instance Method Details
#deserialize(params) ⇒ Object
744 745 746 747 748 749 750 |
# File 'lib/v20180608/models.rb', line 744 def deserialize(params) @Server = params['Server'] @Path = params['Path'] @ReadOnly = params['ReadOnly'] @SecretName = params['SecretName'] @EnableEmptyDirVolume = params['EnableEmptyDirVolume'] end |