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.



16130
16131
16132
16133
16134
16135
# File 'lib/v20180525/models.rb', line 16130

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



16128
16129
16130
# File 'lib/v20180525/models.rb', line 16128

def Name
  @Name
end

#PathObject

Parameters:

  • Name:

    nfs volume 数据卷名称

  • Path:

    NFS 数据卷路径

  • Server:

    NFS 服务器地址

  • ReadOnly:

    默认为 False



16128
16129
16130
# File 'lib/v20180525/models.rb', line 16128

def Path
  @Path
end

#ReadOnlyObject

Parameters:

  • Name:

    nfs volume 数据卷名称

  • Path:

    NFS 数据卷路径

  • Server:

    NFS 服务器地址

  • ReadOnly:

    默认为 False



16128
16129
16130
# File 'lib/v20180525/models.rb', line 16128

def ReadOnly
  @ReadOnly
end

#ServerObject

Parameters:

  • Name:

    nfs volume 数据卷名称

  • Path:

    NFS 数据卷路径

  • Server:

    NFS 服务器地址

  • ReadOnly:

    默认为 False



16128
16129
16130
# File 'lib/v20180525/models.rb', line 16128

def Server
  @Server
end

Instance Method Details

#deserialize(params) ⇒ Object



16137
16138
16139
16140
16141
16142
# File 'lib/v20180525/models.rb', line 16137

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