Class: TencentCloud::Thpc::V20230321::StorageOption

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

Overview

描述集群文件系统选项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of StorageOption.



2931
2932
2933
2934
2935
# File 'lib/v20230321/models.rb', line 2931

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

Instance Attribute Details

#CFSOptionsObject

Parameters:

  • CFSOptions:

    集群挂载CFS文件系统选项。

  • GooseFSOptions:

    集群挂载GooseFS文件系统选项。

  • GooseFSxOptions:

    集群挂载GooseFSx文件系统选项。



2929
2930
2931
# File 'lib/v20230321/models.rb', line 2929

def CFSOptions
  @CFSOptions
end

#GooseFSOptionsObject

Parameters:

  • CFSOptions:

    集群挂载CFS文件系统选项。

  • GooseFSOptions:

    集群挂载GooseFS文件系统选项。

  • GooseFSxOptions:

    集群挂载GooseFSx文件系统选项。



2929
2930
2931
# File 'lib/v20230321/models.rb', line 2929

def GooseFSOptions
  @GooseFSOptions
end

#GooseFSxOptionsObject

Parameters:

  • CFSOptions:

    集群挂载CFS文件系统选项。

  • GooseFSOptions:

    集群挂载GooseFS文件系统选项。

  • GooseFSxOptions:

    集群挂载GooseFSx文件系统选项。



2929
2930
2931
# File 'lib/v20230321/models.rb', line 2929

def GooseFSxOptions
  @GooseFSxOptions
end

Instance Method Details

#deserialize(params) ⇒ Object



2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
# File 'lib/v20230321/models.rb', line 2937

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
  unless params['GooseFSxOptions'].nil?
    @GooseFSxOptions = []
    params['GooseFSxOptions'].each do |i|
      goosefsxoption_tmp = GooseFSxOption.new
      goosefsxoption_tmp.deserialize(i)
      @GooseFSxOptions << goosefsxoption_tmp
    end
  end
end