Class: TencentCloud::Lighthouse::V20200324::DockerContainerVolume

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

Overview

Docker容器挂载卷

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(containerpath = nil, hostpath = nil) ⇒ DockerContainerVolume

Returns a new instance of DockerContainerVolume.



5010
5011
5012
5013
# File 'lib/v20200324/models.rb', line 5010

def initialize(containerpath=nil, hostpath=nil)
  @ContainerPath = containerpath
  @HostPath = hostpath
end

Instance Attribute Details

#ContainerPathObject

Parameters:

  • ContainerPath:

    容器路径

  • HostPath:

    主机路径



5008
5009
5010
# File 'lib/v20200324/models.rb', line 5008

def ContainerPath
  @ContainerPath
end

#HostPathObject

Parameters:

  • ContainerPath:

    容器路径

  • HostPath:

    主机路径



5008
5009
5010
# File 'lib/v20200324/models.rb', line 5008

def HostPath
  @HostPath
end

Instance Method Details

#deserialize(params) ⇒ Object



5015
5016
5017
5018
# File 'lib/v20200324/models.rb', line 5015

def deserialize(params)
  @ContainerPath = params['ContainerPath']
  @HostPath = params['HostPath']
end