Class: TencentCloud::Iecp::V20210914::VolumeHostPath

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

Overview

数据卷主机路径,取值参考: kubernetes.io/docs/concepts/storage/volumes#hostpath

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#PathObject

Parameters:

  • Type:

    类型

  • Path:

    路径



6672
6673
6674
# File 'lib/v20210914/models.rb', line 6672

def Path
  @Path
end

#TypeObject

Parameters:

  • Type:

    类型

  • Path:

    路径



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