Class: TencentCloud::Thpc::V20230321::CFSOption
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::CFSOption
- Defined in:
- lib/v20230321/models.rb
Overview
描述CFS文件系统版本和挂载信息
Instance Attribute Summary collapse
-
#LocalPath ⇒ Object
-
NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport - NFS 4.0默认值:vers=4.0,noresvport - TURBO默认值:user_xattr.
-
-
#MountOption ⇒ Object
-
NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport - NFS 4.0默认值:vers=4.0,noresvport - TURBO默认值:user_xattr.
-
-
#Protocol ⇒ Object
-
NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport - NFS 4.0默认值:vers=4.0,noresvport - TURBO默认值:user_xattr.
-
-
#RemotePath ⇒ Object
-
NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport - NFS 4.0默认值:vers=4.0,noresvport - TURBO默认值:user_xattr.
-
-
#StorageType ⇒ Object
-
NFS 3.0默认值:vers=3,nolock,proto=tcp,noresvport - NFS 4.0默认值:vers=4.0,noresvport - TURBO默认值:user_xattr.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(localpath = nil, remotepath = nil, protocol = nil, storagetype = nil, mountoption = nil) ⇒ CFSOption
constructor
A new instance of CFSOption.
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
#LocalPath ⇒ Object
-
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 |
#MountOption ⇒ Object
-
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 |
#Protocol ⇒ Object
-
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 |
#RemotePath ⇒ Object
-
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 |
#StorageType ⇒ Object
-
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 |