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, server = nil, path = nil, readonly = nil) ⇒ NfsVolume

Returns a new instance of NfsVolume.



14888
14889
14890
14891
14892
14893
# File 'lib/v20180525/models.rb', line 14888

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    nfs volume 数据卷名称

  • Server:

    NFS 服务器地址

  • Path:

    NFS 数据卷路径

  • ReadOnly:

    默认为 False



14886
14887
14888
# File 'lib/v20180525/models.rb', line 14886

def Name
  @Name
end

#PathObject

Parameters:

  • Name:

    nfs volume 数据卷名称

  • Server:

    NFS 服务器地址

  • Path:

    NFS 数据卷路径

  • ReadOnly:

    默认为 False



14886
14887
14888
# File 'lib/v20180525/models.rb', line 14886

def Path
  @Path
end

#ReadOnlyObject

Parameters:

  • Name:

    nfs volume 数据卷名称

  • Server:

    NFS 服务器地址

  • Path:

    NFS 数据卷路径

  • ReadOnly:

    默认为 False



14886
14887
14888
# File 'lib/v20180525/models.rb', line 14886

def ReadOnly
  @ReadOnly
end

#ServerObject

Parameters:

  • Name:

    nfs volume 数据卷名称

  • Server:

    NFS 服务器地址

  • Path:

    NFS 数据卷路径

  • ReadOnly:

    默认为 False



14886
14887
14888
# File 'lib/v20180525/models.rb', line 14886

def Server
  @Server
end

Instance Method Details

#deserialize(params) ⇒ Object



14895
14896
14897
14898
14899
14900
# File 'lib/v20180525/models.rb', line 14895

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