Class: TencentCloud::Tke::V20180525::NfsVolume

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

Overview

EKS Instance Nfs Volume

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, path = nil, server = nil, readonly = nil) ⇒ NfsVolume

Returns a new instance of NfsVolume.



14837
14838
14839
14840
14841
14842
# File 'lib/v20180525/models.rb', line 14837

def initialize(name=nil, path=nil, server=nil, readonly=nil)
  @Name = name
  @Path = path
  @Server = server
  @ReadOnly = readonly
end

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    nfs volume 数据卷名称

  • Path:

    NFS 数据卷路径

  • Server:

    NFS 服务器地址

  • ReadOnly:

    默认为 False



14835
14836
14837
# File 'lib/v20180525/models.rb', line 14835

def Name
  @Name
end

#PathObject

Parameters:

  • Name:

    nfs volume 数据卷名称

  • Path:

    NFS 数据卷路径

  • Server:

    NFS 服务器地址

  • ReadOnly:

    默认为 False



14835
14836
14837
# File 'lib/v20180525/models.rb', line 14835

def Path
  @Path
end

#ReadOnlyObject

Parameters:

  • Name:

    nfs volume 数据卷名称

  • Path:

    NFS 数据卷路径

  • Server:

    NFS 服务器地址

  • ReadOnly:

    默认为 False



14835
14836
14837
# File 'lib/v20180525/models.rb', line 14835

def ReadOnly
  @ReadOnly
end

#ServerObject

Parameters:

  • Name:

    nfs volume 数据卷名称

  • Path:

    NFS 数据卷路径

  • Server:

    NFS 服务器地址

  • ReadOnly:

    默认为 False



14835
14836
14837
# File 'lib/v20180525/models.rb', line 14835

def Server
  @Server
end

Instance Method Details

#deserialize(params) ⇒ Object



14844
14845
14846
14847
14848
14849
# File 'lib/v20180525/models.rb', line 14844

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