public class ClusterOption extends AbstractModel
header, skipSign
Constructor and Description |
---|
ClusterOption() |
ClusterOption(ClusterOption 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 |
---|---|
LimitRange |
getLimitRange()
Get 限制范围。
|
ResourceQuota |
getResourceQuota()
Get 资源配额。
|
String |
getServiceCidr()
Get 计算集群Service CIDR,不能与VPC网段重合。
|
String |
getType()
Get 计算集群类型,取值范围:
- KUBERNETES
|
String |
getZone()
Get 计算集群可用区。
|
void |
setLimitRange(LimitRange LimitRange)
Set 限制范围。
|
void |
setResourceQuota(ResourceQuota ResourceQuota)
Set 资源配额。
|
void |
setServiceCidr(String ServiceCidr)
Set 计算集群Service CIDR,不能与VPC网段重合。
|
void |
setType(String Type)
Set 计算集群类型,取值范围:
- KUBERNETES
|
void |
setZone(String Zone)
Set 计算集群可用区。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ClusterOption()
public ClusterOption(ClusterOption source)
public String getZone()
public void setZone(String Zone)
Zone
- 计算集群可用区。public String getType()
public void setType(String Type)
Type
- 计算集群类型,取值范围:
- KUBERNETESpublic String getServiceCidr()
public void setServiceCidr(String ServiceCidr)
ServiceCidr
- 计算集群Service CIDR,不能与VPC网段重合。public ResourceQuota getResourceQuota()
public void setResourceQuota(ResourceQuota ResourceQuota)
ResourceQuota
- 资源配额。public LimitRange getLimitRange()
public void setLimitRange(LimitRange LimitRange)
LimitRange
- 限制范围。Copyright © 2024. All rights reserved.