Class: TencentCloud::Iecp::V20210914::VolumeNFS

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

Overview

NFS挂载卷

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(server = nil, serverpath = nil, path = nil) ⇒ VolumeNFS

Returns a new instance of VolumeNFS.



6726
6727
6728
6729
6730
# File 'lib/v20210914/models.rb', line 6726

def initialize(server=nil, serverpath=nil, path=nil)
  @Server = server
  @ServerPath = serverpath
  @Path = path
end

Instance Attribute Details

#PathObject

Parameters:

  • Server:

    服务地址

  • ServerPath:

    对应服务器路径

  • Path:

    对应本地路径



6724
6725
6726
# File 'lib/v20210914/models.rb', line 6724

def Path
  @Path
end

#ServerObject

Parameters:

  • Server:

    服务地址

  • ServerPath:

    对应服务器路径

  • Path:

    对应本地路径



6724
6725
6726
# File 'lib/v20210914/models.rb', line 6724

def Server
  @Server
end

#ServerPathObject

Parameters:

  • Server:

    服务地址

  • ServerPath:

    对应服务器路径

  • Path:

    对应本地路径



6724
6725
6726
# File 'lib/v20210914/models.rb', line 6724

def ServerPath
  @ServerPath
end

Instance Method Details

#deserialize(params) ⇒ Object



6732
6733
6734
6735
6736
# File 'lib/v20210914/models.rb', line 6732

def deserialize(params)
  @Server = params['Server']
  @ServerPath = params['ServerPath']
  @Path = params['Path']
end