public class ClusterCIDRSettings extends AbstractModel
Constructor and Description |
---|
ClusterCIDRSettings() |
Modifier and Type | Method and Description |
---|---|
Long |
getClaimExpiredSeconds()
Get Repossession time of ENI IP addresses in VPC-CNI network mode, whose range is [300,15768000)
|
String |
getClusterCIDR()
Get CIDR used to assign container and service IPs for the cluster.
|
String[] |
getEniSubnetIds()
Get Subnet ID of the ENI in VPC-CNI network mode
|
Boolean |
getIgnoreClusterCIDRConflict()
Get Whether to ignore ClusterCIDR conflict errors, which are not ignored by default
|
Long |
getMaxClusterServiceNum()
Get Maximum number of cluster services
|
Long |
getMaxNodePodNum()
Get Maximum number of pods on each node in the cluster
|
String |
getServiceCIDR()
Get The CIDR block used to assign cluster service IP addresses.
|
void |
setClaimExpiredSeconds(Long ClaimExpiredSeconds)
Set Repossession time of ENI IP addresses in VPC-CNI network mode, whose range is [300,15768000)
|
void |
setClusterCIDR(String ClusterCIDR)
Set CIDR used to assign container and service IPs for the cluster.
|
void |
setEniSubnetIds(String[] EniSubnetIds)
Set Subnet ID of the ENI in VPC-CNI network mode
|
void |
setIgnoreClusterCIDRConflict(Boolean IgnoreClusterCIDRConflict)
Set Whether to ignore ClusterCIDR conflict errors, which are not ignored by default
|
void |
setMaxClusterServiceNum(Long MaxClusterServiceNum)
Set Maximum number of cluster services
|
void |
setMaxNodePodNum(Long MaxNodePodNum)
Set Maximum number of pods on each node in the cluster
|
void |
setServiceCIDR(String ServiceCIDR)
Set The CIDR block used to assign cluster service IP addresses.
|
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 String getClusterCIDR()
public void setClusterCIDR(String ClusterCIDR)
ClusterCIDR
- CIDR used to assign container and service IPs for the cluster. It cannot conflict with the VPC's CIDR or the CIDRs of other clusters in the same VPCpublic Boolean getIgnoreClusterCIDRConflict()
public void setIgnoreClusterCIDRConflict(Boolean IgnoreClusterCIDRConflict)
IgnoreClusterCIDRConflict
- Whether to ignore ClusterCIDR conflict errors, which are not ignored by defaultpublic Long getMaxNodePodNum()
public void setMaxNodePodNum(Long MaxNodePodNum)
MaxNodePodNum
- Maximum number of pods on each node in the clusterpublic Long getMaxClusterServiceNum()
public void setMaxClusterServiceNum(Long MaxClusterServiceNum)
MaxClusterServiceNum
- Maximum number of cluster servicespublic String getServiceCIDR()
public void setServiceCIDR(String ServiceCIDR)
ServiceCIDR
- The CIDR block used to assign cluster service IP addresses. It must conflict with neither the VPC CIDR block nor with CIDR blocks of other clusters in the same VPC instance. The IP range must be within the private network IP range, such as 10.1.0.0/14, 192.168.0.1/18, and 172.16.0.0/16.public String[] getEniSubnetIds()
public void setEniSubnetIds(String[] EniSubnetIds)
EniSubnetIds
- Subnet ID of the ENI in VPC-CNI network modepublic Long getClaimExpiredSeconds()
public void setClaimExpiredSeconds(Long ClaimExpiredSeconds)
ClaimExpiredSeconds
- Repossession time of ENI IP addresses in VPC-CNI network mode, whose range is [300,15768000)Copyright © 2021. All rights reserved.