Class: TencentCloud::Tione::V20211111::CFSConfig

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

Overview

CFS存储的配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, path = nil, mounttype = nil, protocol = nil) ⇒ CFSConfig

Returns a new instance of CFSConfig.



166
167
168
169
170
171
# File 'lib/v20211111/models.rb', line 166

def initialize(id=nil, path=nil, mounttype=nil, protocol=nil)
  @Id = id
  @Path = path
  @MountType = mounttype
  @Protocol = protocol
end

Instance Attribute Details

#IdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    cfs的实例的ID

  • Path:

    存储的路径

  • MountType:

    cfs的挂载类型,可选值为:STORAGE、SOURCE 分别表示存储拓展模式和数据源模式,默认为 STORAGE

  • Protocol:

    协议 1: NFS, 2: TURBO



164
165
166
# File 'lib/v20211111/models.rb', line 164

def Id
  @Id
end

#MountTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    cfs的实例的ID

  • Path:

    存储的路径

  • MountType:

    cfs的挂载类型,可选值为:STORAGE、SOURCE 分别表示存储拓展模式和数据源模式,默认为 STORAGE

  • Protocol:

    协议 1: NFS, 2: TURBO



164
165
166
# File 'lib/v20211111/models.rb', line 164

def MountType
  @MountType
end

#PathObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    cfs的实例的ID

  • Path:

    存储的路径

  • MountType:

    cfs的挂载类型,可选值为:STORAGE、SOURCE 分别表示存储拓展模式和数据源模式,默认为 STORAGE

  • Protocol:

    协议 1: NFS, 2: TURBO



164
165
166
# File 'lib/v20211111/models.rb', line 164

def Path
  @Path
end

#ProtocolObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Id:

    cfs的实例的ID

  • Path:

    存储的路径

  • MountType:

    cfs的挂载类型,可选值为:STORAGE、SOURCE 分别表示存储拓展模式和数据源模式,默认为 STORAGE

  • Protocol:

    协议 1: NFS, 2: TURBO



164
165
166
# File 'lib/v20211111/models.rb', line 164

def Protocol
  @Protocol
end

Instance Method Details

#deserialize(params) ⇒ Object



173
174
175
176
177
178
# File 'lib/v20211111/models.rb', line 173

def deserialize(params)
  @Id = params['Id']
  @Path = params['Path']
  @MountType = params['MountType']
  @Protocol = params['Protocol']
end