public class ClusterAdvancedSettings extends AbstractModel
Constructor and Description |
---|
ClusterAdvancedSettings() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAsEnabled()
Get Whether auto-scaling is enabled for nodes in the cluster (Enabling this function is not supported when you create a cluster)
|
Boolean |
getAuditEnabled()
Get Indicates whether to enable auditing
|
String |
getAuditLogsetId()
Get Specifies the ID of logset to which the audit logs are uploaded.
|
String |
getAuditLogTopicId()
Get Specifies the ID of topic to which the audit logs are uploaded.
|
String |
getContainerRuntime()
Get Type of runtime component used by the cluster.
|
Boolean |
getDeletionProtection()
Get
|
ClusterExtraArgs |
getExtraArgs()
Get Cluster custom parameter
|
Boolean |
getIPVS()
Get Whether IPVS is enabled
|
Boolean |
getIsNonStaticIpMode()
Get Whether a cluster in VPC-CNI mode uses dynamic IP addresses.
|
String |
getKubeProxyMode()
Get
|
String |
getNetworkType()
Get Cluster network type, which can be GR (Global Router) or VPC-CNI.
|
String |
getNodeNameType()
Get
|
void |
setAsEnabled(Boolean AsEnabled)
Set Whether auto-scaling is enabled for nodes in the cluster (Enabling this function is not supported when you create a cluster)
|
void |
setAuditEnabled(Boolean AuditEnabled)
Set Indicates whether to enable auditing
|
void |
setAuditLogsetId(String AuditLogsetId)
Set Specifies the ID of logset to which the audit logs are uploaded.
|
void |
setAuditLogTopicId(String AuditLogTopicId)
Set Specifies the ID of topic to which the audit logs are uploaded.
|
void |
setContainerRuntime(String ContainerRuntime)
Set Type of runtime component used by the cluster.
|
void |
setDeletionProtection(Boolean DeletionProtection)
Set
|
void |
setExtraArgs(ClusterExtraArgs ExtraArgs)
Set Cluster custom parameter
|
void |
setIPVS(Boolean IPVS)
Set Whether IPVS is enabled
|
void |
setIsNonStaticIpMode(Boolean IsNonStaticIpMode)
Set Whether a cluster in VPC-CNI mode uses dynamic IP addresses.
|
void |
setKubeProxyMode(String KubeProxyMode)
Set
|
void |
setNetworkType(String NetworkType)
Set Cluster network type, which can be GR (Global Router) or VPC-CNI.
|
void |
setNodeNameType(String NodeNameType)
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, toJsonString
public Boolean getIPVS()
public void setIPVS(Boolean IPVS)
IPVS
- Whether IPVS is enabledpublic Boolean getAsEnabled()
public void setAsEnabled(Boolean AsEnabled)
AsEnabled
- Whether auto-scaling is enabled for nodes in the cluster (Enabling this function is not supported when you create a cluster)public String getContainerRuntime()
public void setContainerRuntime(String ContainerRuntime)
ContainerRuntime
- Type of runtime component used by the cluster. The types include "docker" and "containerd". Default value: dockerpublic String getNodeNameType()
public void setNodeNameType(String NodeNameType)
NodeNameType
- public ClusterExtraArgs getExtraArgs()
public void setExtraArgs(ClusterExtraArgs ExtraArgs)
ExtraArgs
- Cluster custom parameterpublic String getNetworkType()
public void setNetworkType(String NetworkType)
NetworkType
- Cluster network type, which can be GR (Global Router) or VPC-CNI. The default value is GR.public Boolean getIsNonStaticIpMode()
public void setIsNonStaticIpMode(Boolean IsNonStaticIpMode)
IsNonStaticIpMode
- Whether a cluster in VPC-CNI mode uses dynamic IP addresses. The default value is FALSE, which indicates that static IP addresses are used.public Boolean getDeletionProtection()
public void setDeletionProtection(Boolean DeletionProtection)
DeletionProtection
- public String getKubeProxyMode()
public void setKubeProxyMode(String KubeProxyMode)
KubeProxyMode
- public Boolean getAuditEnabled()
public void setAuditEnabled(Boolean AuditEnabled)
AuditEnabled
- Indicates whether to enable auditingpublic String getAuditLogsetId()
public void setAuditLogsetId(String AuditLogsetId)
AuditLogsetId
- Specifies the ID of logset to which the audit logs are uploaded.public String getAuditLogTopicId()
public void setAuditLogTopicId(String AuditLogTopicId)
AuditLogTopicId
- Specifies the ID of topic to which the audit logs are uploaded.Copyright © 2020. All rights reserved.