public class InstanceTypeQuotaItem extends AbstractModel
| Constructor and Description |
|---|
InstanceTypeQuotaItem() |
InstanceTypeQuotaItem(InstanceTypeQuotaItem 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 |
getCpu()
Get 实例的CPU核数,单位:核。
|
String |
getCpuType()
Get 处理器型号。
|
Externals |
getExternals()
Get 扩展属性。
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getFpga()
Get 实例的FPGA数量。
|
Long |
getGpu()
Get 实例的GPU数量。
|
Float |
getInstanceBandwidth()
Get 内网带宽,单位Gbps。
|
String |
getInstanceChargeType()
Get 实例计费模式。取值范围:
PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。 `SPOTPAID`:表示竞价实例付费。 |
String |
getInstanceFamily()
Get 实例机型系列。
|
Long |
getInstancePps()
Get 网络收发包能力,单位万PPS。
|
String |
getInstanceType()
Get 实例机型。
|
LocalDiskType[] |
getLocalDiskTypeList()
Get 本地磁盘规格列表。当该参数返回为空值时,表示当前情况下无法创建本地盘。
|
Long |
getMemory()
Get 实例内存容量,单位:`GB`。
|
Long |
getNetworkCard()
Get 网卡类型,例如:25代表25G网卡
|
ItemPrice |
getPrice()
Get 实例的售卖价格。
|
String |
getRemark()
Get 实例备注信息。
|
String |
getSoldOutReason()
Get 售罄原因。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getStatus()
Get 实例是否售卖。取值范围:
SELL:表示实例可购买 SOLD_OUT:表示实例已售罄。 |
Long |
getStorageBlockAmount()
Get 本地存储块数量。
|
String |
getTypeName()
Get 机型名称。
|
String |
getZone()
Get 可用区。
|
void |
setCpu(Long Cpu)
Set 实例的CPU核数,单位:核。
|
void |
setCpuType(String CpuType)
Set 处理器型号。
|
void |
setExternals(Externals Externals)
Set 扩展属性。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setFpga(Long Fpga)
Set 实例的FPGA数量。
|
void |
setGpu(Long Gpu)
Set 实例的GPU数量。
|
void |
setInstanceBandwidth(Float InstanceBandwidth)
Set 内网带宽,单位Gbps。
|
void |
setInstanceChargeType(String InstanceChargeType)
Set 实例计费模式。取值范围:
PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:表示[专用宿主机](https://cloud.tencent.com/document/product/416)付费,即只对`专用宿主机`计费,不对`专用宿主机`上的实例计费。 `SPOTPAID`:表示竞价实例付费。 |
void |
setInstanceFamily(String InstanceFamily)
Set 实例机型系列。
|
void |
setInstancePps(Long InstancePps)
Set 网络收发包能力,单位万PPS。
|
void |
setInstanceType(String InstanceType)
Set 实例机型。
|
void |
setLocalDiskTypeList(LocalDiskType[] LocalDiskTypeList)
Set 本地磁盘规格列表。当该参数返回为空值时,表示当前情况下无法创建本地盘。
|
void |
setMemory(Long Memory)
Set 实例内存容量,单位:`GB`。
|
void |
setNetworkCard(Long NetworkCard)
Set 网卡类型,例如:25代表25G网卡
|
void |
setPrice(ItemPrice Price)
Set 实例的售卖价格。
|
void |
setRemark(String Remark)
Set 实例备注信息。
|
void |
setSoldOutReason(String SoldOutReason)
Set 售罄原因。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setStatus(String Status)
Set 实例是否售卖。取值范围:
SELL:表示实例可购买 SOLD_OUT:表示实例已售罄。 |
void |
setStorageBlockAmount(Long StorageBlockAmount)
Set 本地存储块数量。
|
void |
setTypeName(String TypeName)
Set 机型名称。
|
void |
setZone(String Zone)
Set 可用区。
|
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, toJsonStringpublic InstanceTypeQuotaItem()
public InstanceTypeQuotaItem(InstanceTypeQuotaItem source)
public String getZone()
public void setZone(String Zone)
Zone - 可用区。public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType - 实例机型。public String getInstanceChargeType()
public void setInstanceChargeType(String InstanceChargeType)
InstanceChargeType - 实例计费模式。取值范围: public Long getNetworkCard()
public void setNetworkCard(Long NetworkCard)
NetworkCard - 网卡类型,例如:25代表25G网卡public Externals getExternals()
public void setExternals(Externals Externals)
Externals - 扩展属性。
注意:此字段可能返回 null,表示取不到有效值。public Long getCpu()
public void setCpu(Long Cpu)
Cpu - 实例的CPU核数,单位:核。public Long getMemory()
public void setMemory(Long Memory)
Memory - 实例内存容量,单位:`GB`。public String getInstanceFamily()
public void setInstanceFamily(String InstanceFamily)
InstanceFamily - 实例机型系列。public String getTypeName()
public void setTypeName(String TypeName)
TypeName - 机型名称。public LocalDiskType[] getLocalDiskTypeList()
public void setLocalDiskTypeList(LocalDiskType[] LocalDiskTypeList)
LocalDiskTypeList - 本地磁盘规格列表。当该参数返回为空值时,表示当前情况下无法创建本地盘。public String getStatus()
public void setStatus(String Status)
Status - 实例是否售卖。取值范围: public ItemPrice getPrice()
public void setPrice(ItemPrice Price)
Price - 实例的售卖价格。public String getSoldOutReason()
public void setSoldOutReason(String SoldOutReason)
SoldOutReason - 售罄原因。
注意:此字段可能返回 null,表示取不到有效值。public Float getInstanceBandwidth()
public void setInstanceBandwidth(Float InstanceBandwidth)
InstanceBandwidth - 内网带宽,单位Gbps。public Long getInstancePps()
public void setInstancePps(Long InstancePps)
InstancePps - 网络收发包能力,单位万PPS。public Long getStorageBlockAmount()
public void setStorageBlockAmount(Long StorageBlockAmount)
StorageBlockAmount - 本地存储块数量。public String getCpuType()
public void setCpuType(String CpuType)
CpuType - 处理器型号。public Long getGpu()
public void setGpu(Long Gpu)
Gpu - 实例的GPU数量。public Long getFpga()
public void setFpga(Long Fpga)
Fpga - 实例的FPGA数量。public String getRemark()
public void setRemark(String Remark)
Remark - 实例备注信息。Copyright © 2022. All rights reserved.