Class: TencentCloud::Thpc::V20230321::CFSOption

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

Overview

描述CFS文件系统版本和挂载信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(localpath = nil, remotepath = nil, protocol = nil, storagetype = nil, mountoption = nil) ⇒ CFSOption

Returns a new instance of CFSOption.



310
311
312
313
314
315
316
# File 'lib/v20230321/models.rb', line 310

def initialize(localpath=nil, remotepath=nil, protocol=nil, storagetype=nil, mountoption=nil)
  @LocalPath = localpath
  @RemotePath = remotepath
  @Protocol = protocol
  @StorageType = storagetype
  @MountOption = mountoption
end

Instance Attribute Details

#LocalPathObject

  • NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport

  • NFS 4.0默认值:vers=4.0,noresvport

  • TURBO默认值:user_xattr



308
309
310
# File 'lib/v20230321/models.rb', line 308

def LocalPath
  @LocalPath
end

#MountOptionObject

  • NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport

  • NFS 4.0默认值:vers=4.0,noresvport

  • TURBO默认值:user_xattr



308
309
310
# File 'lib/v20230321/models.rb', line 308

def MountOption
  @MountOption
end

#ProtocolObject

  • NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport

  • NFS 4.0默认值:vers=4.0,noresvport

  • TURBO默认值:user_xattr



308
309
310
# File 'lib/v20230321/models.rb', line 308

def Protocol
  @Protocol
end

#RemotePathObject

  • NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport

  • NFS 4.0默认值:vers=4.0,noresvport

  • TURBO默认值:user_xattr



308
309
310
# File 'lib/v20230321/models.rb', line 308

def RemotePath
  @RemotePath
end

#StorageTypeObject

  • NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport

  • NFS 4.0默认值:vers=4.0,noresvport

  • TURBO默认值:user_xattr



308
309
310
# File 'lib/v20230321/models.rb', line 308

def StorageType
  @StorageType
end

Instance Method Details

#deserialize(params) ⇒ Object



318
319
320
321
322
323
324
# File 'lib/v20230321/models.rb', line 318

def deserialize(params)
  @LocalPath = params['LocalPath']
  @RemotePath = params['RemotePath']
  @Protocol = params['Protocol']
  @StorageType = params['StorageType']
  @MountOption = params['MountOption']
end