Class InstanceNetworkLimitConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ecm.v20190719.models.InstanceNetworkLimitConfig
-
public class InstanceNetworkLimitConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description InstanceNetworkLimitConfig()InstanceNetworkLimitConfig(InstanceNetworkLimitConfig 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCpuNum()Get cpu核数LonggetInnerIpPerNetworkInterface()Get 每张网卡内网ip数量限制LonggetNetworkInterfaceLimit()Get 网卡数量限制LonggetPublicIpPerInstance()Get 每个实例的外网ip限制voidsetCpuNum(Long CpuNum)Set cpu核数voidsetInnerIpPerNetworkInterface(Long InnerIpPerNetworkInterface)Set 每张网卡内网ip数量限制voidsetNetworkInterfaceLimit(Long NetworkInterfaceLimit)Set 网卡数量限制voidsetPublicIpPerInstance(Long PublicIpPerInstance)Set 每个实例的外网ip限制voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
InstanceNetworkLimitConfig
public InstanceNetworkLimitConfig()
-
InstanceNetworkLimitConfig
public InstanceNetworkLimitConfig(InstanceNetworkLimitConfig 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.
-
-
Method Detail
-
getCpuNum
public Long getCpuNum()
Get cpu核数- Returns:
- CpuNum cpu核数
-
setCpuNum
public void setCpuNum(Long CpuNum)
Set cpu核数- Parameters:
CpuNum- cpu核数
-
getNetworkInterfaceLimit
public Long getNetworkInterfaceLimit()
Get 网卡数量限制- Returns:
- NetworkInterfaceLimit 网卡数量限制
-
setNetworkInterfaceLimit
public void setNetworkInterfaceLimit(Long NetworkInterfaceLimit)
Set 网卡数量限制- Parameters:
NetworkInterfaceLimit- 网卡数量限制
-
getInnerIpPerNetworkInterface
public Long getInnerIpPerNetworkInterface()
Get 每张网卡内网ip数量限制- Returns:
- InnerIpPerNetworkInterface 每张网卡内网ip数量限制
-
setInnerIpPerNetworkInterface
public void setInnerIpPerNetworkInterface(Long InnerIpPerNetworkInterface)
Set 每张网卡内网ip数量限制- Parameters:
InnerIpPerNetworkInterface- 每张网卡内网ip数量限制
-
getPublicIpPerInstance
public Long getPublicIpPerInstance()
Get 每个实例的外网ip限制- Returns:
- PublicIpPerInstance 每个实例的外网ip限制
-
setPublicIpPerInstance
public void setPublicIpPerInstance(Long PublicIpPerInstance)
Set 每个实例的外网ip限制- Parameters:
PublicIpPerInstance- 每个实例的外网ip限制
-
-