Class: TencentCloud::Iecp::V20210914::VolumeHostPath
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::VolumeHostPath
- Defined in:
- lib/v20210914/models.rb
Overview
数据卷主机路径,取值参考: kubernetes.io/docs/concepts/storage/volumes#hostpath
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, path = nil) ⇒ VolumeHostPath
constructor
A new instance of VolumeHostPath.
Constructor Details
#initialize(type = nil, path = nil) ⇒ VolumeHostPath
Returns a new instance of VolumeHostPath.
6674 6675 6676 6677 |
# File 'lib/v20210914/models.rb', line 6674 def initialize(type=nil, path=nil) @Type = type @Path = path end |
Instance Attribute Details
#Path ⇒ Object
6672 6673 6674 |
# File 'lib/v20210914/models.rb', line 6672 def Path @Path end |
#Type ⇒ Object
6672 6673 6674 |
# File 'lib/v20210914/models.rb', line 6672 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
6679 6680 6681 6682 |
# File 'lib/v20210914/models.rb', line 6679 def deserialize(params) @Type = params['Type'] @Path = params['Path'] end |