Class PrometheusClusterAgentPodConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.monitor.v20180724.models.PrometheusClusterAgentPodConfig
-
public class PrometheusClusterAgentPodConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description PrometheusClusterAgentPodConfig()
PrometheusClusterAgentPodConfig(PrometheusClusterAgentPodConfig 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 Boolean
getHostNet()
Get 是否使用HostNetWorkLabel[]
getNodeSelector()
Get 指定pod运行节点Toleration[]
getTolerations()
Get 容忍污点void
setHostNet(Boolean HostNet)
Set 是否使用HostNetWorkvoid
setNodeSelector(Label[] NodeSelector)
Set 指定pod运行节点void
setTolerations(Toleration[] Tolerations)
Set 容忍污点void
toMap(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
-
PrometheusClusterAgentPodConfig
public PrometheusClusterAgentPodConfig()
-
PrometheusClusterAgentPodConfig
public PrometheusClusterAgentPodConfig(PrometheusClusterAgentPodConfig 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
-
getHostNet
public Boolean getHostNet()
Get 是否使用HostNetWork- Returns:
- HostNet 是否使用HostNetWork
-
setHostNet
public void setHostNet(Boolean HostNet)
Set 是否使用HostNetWork- Parameters:
HostNet
- 是否使用HostNetWork
-
getNodeSelector
public Label[] getNodeSelector()
Get 指定pod运行节点- Returns:
- NodeSelector 指定pod运行节点
-
setNodeSelector
public void setNodeSelector(Label[] NodeSelector)
Set 指定pod运行节点- Parameters:
NodeSelector
- 指定pod运行节点
-
getTolerations
public Toleration[] getTolerations()
Get 容忍污点- Returns:
- Tolerations 容忍污点
-
setTolerations
public void setTolerations(Toleration[] Tolerations)
Set 容忍污点- Parameters:
Tolerations
- 容忍污点
-
-