Class: TencentCloud::Thpc::V20211109::StorageOption

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

Overview

描述集群文件系统选项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cfsoptions = nil, goosefsoptions = nil) ⇒ StorageOption

Returns a new instance of StorageOption.



806
807
808
809
# File 'lib/v20211109/models.rb', line 806

def initialize(cfsoptions=nil, goosefsoptions=nil)
  @CFSOptions = cfsoptions
  @GooseFSOptions = goosefsoptions
end

Instance Attribute Details

#CFSOptionsObject

Parameters:

  • CFSOptions:

    集群挂载CFS文件系统选项

  • GooseFSOptions:

    集群挂在GooseFS文件系统选项



804
805
806
# File 'lib/v20211109/models.rb', line 804

def CFSOptions
  @CFSOptions
end

#GooseFSOptionsObject

Parameters:

  • CFSOptions:

    集群挂载CFS文件系统选项

  • GooseFSOptions:

    集群挂在GooseFS文件系统选项



804
805
806
# File 'lib/v20211109/models.rb', line 804

def GooseFSOptions
  @GooseFSOptions
end

Instance Method Details

#deserialize(params) ⇒ Object



811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
# File 'lib/v20211109/models.rb', line 811

def deserialize(params)
  unless params['CFSOptions'].nil?
    @CFSOptions = []
    params['CFSOptions'].each do |i|
      cfsoption_tmp = CFSOption.new
      cfsoption_tmp.deserialize(i)
      @CFSOptions << cfsoption_tmp
    end
  end
  unless params['GooseFSOptions'].nil?
    @GooseFSOptions = []
    params['GooseFSOptions'].each do |i|
      goosefsoption_tmp = GooseFSOption.new
      goosefsoption_tmp.deserialize(i)
      @GooseFSOptions << goosefsoption_tmp
    end
  end
end