Class: TencentCloud::Wedata::V20210820::ResourcePoolInfo

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

Overview

资源池信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resourcepools = nil, storagesize = nil, storagefilenum = nil, clusterid = nil, storagetype = nil) ⇒ ResourcePoolInfo

Returns a new instance of ResourcePoolInfo.



30589
30590
30591
30592
30593
30594
30595
# File 'lib/v20210820/models.rb', line 30589

def initialize(resourcepools=nil, storagesize=nil, storagefilenum=nil, clusterid=nil, storagetype=nil)
  @ResourcePools = resourcepools
  @StorageSize = storagesize
  @StorageFileNum = storagefilenum
  @ClusterId = clusterid
  @StorageType = storagetype
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ResourcePools:

    资源池id

  • StorageSize:

    存储空间大小,单位 MB

  • StorageFileNum:

    存储文件数大小

  • ClusterId:

    集群id

  • StorageType:

    存储类型,0 代表HDFS,1 代表OZONE



30587
30588
30589
# File 'lib/v20210820/models.rb', line 30587

def ClusterId
  @ClusterId
end

#ResourcePoolsObject

Parameters:

  • ResourcePools:

    资源池id

  • StorageSize:

    存储空间大小,单位 MB

  • StorageFileNum:

    存储文件数大小

  • ClusterId:

    集群id

  • StorageType:

    存储类型,0 代表HDFS,1 代表OZONE



30587
30588
30589
# File 'lib/v20210820/models.rb', line 30587

def ResourcePools
  @ResourcePools
end

#StorageFileNumObject

Parameters:

  • ResourcePools:

    资源池id

  • StorageSize:

    存储空间大小,单位 MB

  • StorageFileNum:

    存储文件数大小

  • ClusterId:

    集群id

  • StorageType:

    存储类型,0 代表HDFS,1 代表OZONE



30587
30588
30589
# File 'lib/v20210820/models.rb', line 30587

def StorageFileNum
  @StorageFileNum
end

#StorageSizeObject

Parameters:

  • ResourcePools:

    资源池id

  • StorageSize:

    存储空间大小,单位 MB

  • StorageFileNum:

    存储文件数大小

  • ClusterId:

    集群id

  • StorageType:

    存储类型,0 代表HDFS,1 代表OZONE



30587
30588
30589
# File 'lib/v20210820/models.rb', line 30587

def StorageSize
  @StorageSize
end

#StorageTypeObject

Parameters:

  • ResourcePools:

    资源池id

  • StorageSize:

    存储空间大小,单位 MB

  • StorageFileNum:

    存储文件数大小

  • ClusterId:

    集群id

  • StorageType:

    存储类型,0 代表HDFS,1 代表OZONE



30587
30588
30589
# File 'lib/v20210820/models.rb', line 30587

def StorageType
  @StorageType
end

Instance Method Details

#deserialize(params) ⇒ Object



30597
30598
30599
30600
30601
30602
30603
# File 'lib/v20210820/models.rb', line 30597

def deserialize(params)
  @ResourcePools = params['ResourcePools']
  @StorageSize = params['StorageSize']
  @StorageFileNum = params['StorageFileNum']
  @ClusterId = params['ClusterId']
  @StorageType = params['StorageType']
end