public class EnableVpcCniNetworkTypeRequest extends AbstractModel
| Constructor and Description |
|---|
EnableVpcCniNetworkTypeRequest() |
EnableVpcCniNetworkTypeRequest(EnableVpcCniNetworkTypeRequest 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 |
|---|---|
String |
getClusterId()
Get 集群ID
|
Boolean |
getEnableStaticIp()
Get 是否开启固定IP模式
|
Long |
getExpiredSeconds()
Get 在固定IP模式下,Pod销毁后退还IP的时间,传参必须大于300;不传默认IP永不销毁。
|
String[] |
getSubnets()
Get 使用的容器子网
|
String |
getVpcCniType()
Get 开启vpc-cni的模式,tke-route-eni开启的是策略路由模式,tke-direct-eni开启的是独立网卡模式
|
void |
setClusterId(String ClusterId)
Set 集群ID
|
void |
setEnableStaticIp(Boolean EnableStaticIp)
Set 是否开启固定IP模式
|
void |
setExpiredSeconds(Long ExpiredSeconds)
Set 在固定IP模式下,Pod销毁后退还IP的时间,传参必须大于300;不传默认IP永不销毁。
|
void |
setSubnets(String[] Subnets)
Set 使用的容器子网
|
void |
setVpcCniType(String VpcCniType)
Set 开启vpc-cni的模式,tke-route-eni开启的是策略路由模式,tke-direct-eni开启的是独立网卡模式
|
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 EnableVpcCniNetworkTypeRequest()
public EnableVpcCniNetworkTypeRequest(EnableVpcCniNetworkTypeRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - 集群IDpublic String getVpcCniType()
public void setVpcCniType(String VpcCniType)
VpcCniType - 开启vpc-cni的模式,tke-route-eni开启的是策略路由模式,tke-direct-eni开启的是独立网卡模式public Boolean getEnableStaticIp()
public void setEnableStaticIp(Boolean EnableStaticIp)
EnableStaticIp - 是否开启固定IP模式public String[] getSubnets()
public void setSubnets(String[] Subnets)
Subnets - 使用的容器子网public Long getExpiredSeconds()
public void setExpiredSeconds(Long ExpiredSeconds)
ExpiredSeconds - 在固定IP模式下,Pod销毁后退还IP的时间,传参必须大于300;不传默认IP永不销毁。Copyright © 2021. All rights reserved.