public class DeviceHardwareInfo extends AbstractModel
Constructor and Description |
---|
DeviceHardwareInfo() |
DeviceHardwareInfo(DeviceHardwareInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getContainRaidCard()
Get 是否有 RAID 卡,0:没有 RAID 卡; 1:有 RAID 卡
|
Long |
getCpmPayMode()
Get 机型计费模式,1 为预付费,2 为后付费
|
Long |
getCpu()
Get cpu的核心数。仅是物理服务器未开启超线程的核心数, 超线程的核心数为Cpu*2
|
String |
getCpuDescription()
Get CPU 型号描述
|
Long |
getCpuId()
Get 自定义机型,CPU 型号 ID(非自定义机型返回0)
|
Long |
getDataDiskCount()
Get 自定义机型数据盘数量(若没有则返回0)
|
Long |
getDataDiskTypeId()
Get 自定义机型数据盘类型 ID(若没有则返回0)
|
String |
getDeviceClassCode()
Get 机型外部代号
|
String |
getDiskDescription()
Get 磁盘描述
|
String |
getInstanceId()
Get 设备实例 ID
|
Long |
getIsElastic()
Get 是否自定义机型
|
Long |
getMem()
Get 自定义机型,内存大小, 单位 GB(非自定义机型返回0)
|
String |
getMemDescription()
Get 内存描述
|
String |
getNicDescription()
Get 网卡描述
|
String |
getRaidDescription()
Get 是否支持 RAID 的描述
|
Long |
getSystemDiskCount()
Get 自定义机型系统盘数量(若没有则返回0)
|
Long |
getSystemDiskTypeId()
Get 自定义机型系统盘类型ID(若没有则返回0)
|
void |
setContainRaidCard(Long ContainRaidCard)
Set 是否有 RAID 卡,0:没有 RAID 卡; 1:有 RAID 卡
|
void |
setCpmPayMode(Long CpmPayMode)
Set 机型计费模式,1 为预付费,2 为后付费
|
void |
setCpu(Long Cpu)
Set cpu的核心数。仅是物理服务器未开启超线程的核心数, 超线程的核心数为Cpu*2
|
void |
setCpuDescription(String CpuDescription)
Set CPU 型号描述
|
void |
setCpuId(Long CpuId)
Set 自定义机型,CPU 型号 ID(非自定义机型返回0)
|
void |
setDataDiskCount(Long DataDiskCount)
Set 自定义机型数据盘数量(若没有则返回0)
|
void |
setDataDiskTypeId(Long DataDiskTypeId)
Set 自定义机型数据盘类型 ID(若没有则返回0)
|
void |
setDeviceClassCode(String DeviceClassCode)
Set 机型外部代号
|
void |
setDiskDescription(String DiskDescription)
Set 磁盘描述
|
void |
setInstanceId(String InstanceId)
Set 设备实例 ID
|
void |
setIsElastic(Long IsElastic)
Set 是否自定义机型
|
void |
setMem(Long Mem)
Set 自定义机型,内存大小, 单位 GB(非自定义机型返回0)
|
void |
setMemDescription(String MemDescription)
Set 内存描述
|
void |
setNicDescription(String NicDescription)
Set 网卡描述
|
void |
setRaidDescription(String RaidDescription)
Set 是否支持 RAID 的描述
|
void |
setSystemDiskCount(Long SystemDiskCount)
Set 自定义机型系统盘数量(若没有则返回0)
|
void |
setSystemDiskTypeId(Long SystemDiskTypeId)
Set 自定义机型系统盘类型ID(若没有则返回0)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DeviceHardwareInfo()
public DeviceHardwareInfo(DeviceHardwareInfo source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 设备实例 IDpublic Long getIsElastic()
public void setIsElastic(Long IsElastic)
IsElastic
- 是否自定义机型public Long getCpmPayMode()
public void setCpmPayMode(Long CpmPayMode)
CpmPayMode
- 机型计费模式,1 为预付费,2 为后付费public Long getCpuId()
public void setCpuId(Long CpuId)
CpuId
- 自定义机型,CPU 型号 ID(非自定义机型返回0)public Long getMem()
public void setMem(Long Mem)
Mem
- 自定义机型,内存大小, 单位 GB(非自定义机型返回0)public Long getContainRaidCard()
public void setContainRaidCard(Long ContainRaidCard)
ContainRaidCard
- 是否有 RAID 卡,0:没有 RAID 卡; 1:有 RAID 卡public Long getSystemDiskTypeId()
public void setSystemDiskTypeId(Long SystemDiskTypeId)
SystemDiskTypeId
- 自定义机型系统盘类型ID(若没有则返回0)public Long getSystemDiskCount()
public void setSystemDiskCount(Long SystemDiskCount)
SystemDiskCount
- 自定义机型系统盘数量(若没有则返回0)public Long getDataDiskTypeId()
public void setDataDiskTypeId(Long DataDiskTypeId)
DataDiskTypeId
- 自定义机型数据盘类型 ID(若没有则返回0)public Long getDataDiskCount()
public void setDataDiskCount(Long DataDiskCount)
DataDiskCount
- 自定义机型数据盘数量(若没有则返回0)public String getCpuDescription()
public void setCpuDescription(String CpuDescription)
CpuDescription
- CPU 型号描述public String getMemDescription()
public void setMemDescription(String MemDescription)
MemDescription
- 内存描述public String getDiskDescription()
public void setDiskDescription(String DiskDescription)
DiskDescription
- 磁盘描述public String getNicDescription()
public void setNicDescription(String NicDescription)
NicDescription
- 网卡描述public String getRaidDescription()
public void setRaidDescription(String RaidDescription)
RaidDescription
- 是否支持 RAID 的描述public Long getCpu()
public void setCpu(Long Cpu)
Cpu
- cpu的核心数。仅是物理服务器未开启超线程的核心数, 超线程的核心数为Cpu*2public String getDeviceClassCode()
public void setDeviceClassCode(String DeviceClassCode)
DeviceClassCode
- 机型外部代号Copyright © 2022. All rights reserved.