Class: TencentCloud::Emr::V20190103::ResourceDetail

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

Overview

资源详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(spec = nil, specname = nil, storagetype = nil, disktype = nil, rootsize = nil, memsize = nil, cpu = nil, disksize = nil, instancetype = nil) ⇒ ResourceDetail

Returns a new instance of ResourceDetail.



12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
# File 'lib/v20190103/models.rb', line 12187

def initialize(spec=nil, specname=nil, storagetype=nil, disktype=nil, rootsize=nil, memsize=nil, cpu=nil, disksize=nil, instancetype=nil)
  @Spec = spec
  @SpecName = specname
  @StorageType = storagetype
  @DiskType = disktype
  @RootSize = rootsize
  @MemSize = memsize
  @Cpu = cpu
  @DiskSize = disksize
  @InstanceType = instancetype
end

Instance Attribute Details

#CpuObject

Parameters:

  • 规格

  • 规格名

  • 硬盘类型

  • 硬盘类型

  • 系统盘大小

  • 内存大小

  • CPU个数

  • 硬盘大小

  • 规格



12185
12186
12187
# File 'lib/v20190103/models.rb', line 12185

def Cpu
  @Cpu
end

#DiskSizeObject

Parameters:

  • 规格

  • 规格名

  • 硬盘类型

  • 硬盘类型

  • 系统盘大小

  • 内存大小

  • CPU个数

  • 硬盘大小

  • 规格



12185
12186
12187
# File 'lib/v20190103/models.rb', line 12185

def DiskSize
  @DiskSize
end

#DiskTypeObject

Parameters:

  • 规格

  • 规格名

  • 硬盘类型

  • 硬盘类型

  • 系统盘大小

  • 内存大小

  • CPU个数

  • 硬盘大小

  • 规格



12185
12186
12187
# File 'lib/v20190103/models.rb', line 12185

def DiskType
  @DiskType
end

#InstanceTypeObject

Parameters:

  • 规格

  • 规格名

  • 硬盘类型

  • 硬盘类型

  • 系统盘大小

  • 内存大小

  • CPU个数

  • 硬盘大小

  • 规格



12185
12186
12187
# File 'lib/v20190103/models.rb', line 12185

def InstanceType
  @InstanceType
end

#MemSizeObject

Parameters:

  • 规格

  • 规格名

  • 硬盘类型

  • 硬盘类型

  • 系统盘大小

  • 内存大小

  • CPU个数

  • 硬盘大小

  • 规格



12185
12186
12187
# File 'lib/v20190103/models.rb', line 12185

def MemSize
  @MemSize
end

#RootSizeObject

Parameters:

  • 规格

  • 规格名

  • 硬盘类型

  • 硬盘类型

  • 系统盘大小

  • 内存大小

  • CPU个数

  • 硬盘大小

  • 规格



12185
12186
12187
# File 'lib/v20190103/models.rb', line 12185

def RootSize
  @RootSize
end

#SpecObject

Parameters:

  • 规格

  • 规格名

  • 硬盘类型

  • 硬盘类型

  • 系统盘大小

  • 内存大小

  • CPU个数

  • 硬盘大小

  • 规格



12185
12186
12187
# File 'lib/v20190103/models.rb', line 12185

def Spec
  @Spec
end

#SpecNameObject

Parameters:

  • 规格

  • 规格名

  • 硬盘类型

  • 硬盘类型

  • 系统盘大小

  • 内存大小

  • CPU个数

  • 硬盘大小

  • 规格



12185
12186
12187
# File 'lib/v20190103/models.rb', line 12185

def SpecName
  @SpecName
end

#StorageTypeObject

Parameters:

  • 规格

  • 规格名

  • 硬盘类型

  • 硬盘类型

  • 系统盘大小

  • 内存大小

  • CPU个数

  • 硬盘大小

  • 规格



12185
12186
12187
# File 'lib/v20190103/models.rb', line 12185

def StorageType
  @StorageType
end

Instance Method Details

#deserialize(params) ⇒ Object



12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
# File 'lib/v20190103/models.rb', line 12199

def deserialize(params)
  @Spec = params['Spec']
  @SpecName = params['SpecName']
  @StorageType = params['StorageType']
  @DiskType = params['DiskType']
  @RootSize = params['RootSize']
  @MemSize = params['MemSize']
  @Cpu = params['Cpu']
  @DiskSize = params['DiskSize']
  @InstanceType = params['InstanceType']
end