public class PrometheusClusterAgentBasic extends AbstractModel
Constructor and Description |
---|
PrometheusClusterAgentBasic() |
PrometheusClusterAgentBasic(PrometheusClusterAgentBasic 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
|
String |
getClusterType()
Get 集群类型
|
Boolean |
getEnableExternal()
Get 是否开启公网CLB
|
Label[] |
getExternalLabels()
Get 该集群采集的所有指标都会带上这些labels
|
PrometheusClusterAgentPodConfig |
getInClusterPodConfig()
Get 集群内部署组件的pod配置
|
Boolean |
getNotInstallBasicScrape()
Get 是否安装默认采集配置
|
Boolean |
getNotScrape()
Get 是否采集指标,true代表drop所有指标,false代表采集默认指标
|
String |
getRegion()
Get 集群ID
|
void |
setClusterId(String ClusterId)
Set 集群ID
|
void |
setClusterType(String ClusterType)
Set 集群类型
|
void |
setEnableExternal(Boolean EnableExternal)
Set 是否开启公网CLB
|
void |
setExternalLabels(Label[] ExternalLabels)
Set 该集群采集的所有指标都会带上这些labels
|
void |
setInClusterPodConfig(PrometheusClusterAgentPodConfig InClusterPodConfig)
Set 集群内部署组件的pod配置
|
void |
setNotInstallBasicScrape(Boolean NotInstallBasicScrape)
Set 是否安装默认采集配置
|
void |
setNotScrape(Boolean NotScrape)
Set 是否采集指标,true代表drop所有指标,false代表采集默认指标
|
void |
setRegion(String Region)
Set 集群ID
|
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 PrometheusClusterAgentBasic()
public PrometheusClusterAgentBasic(PrometheusClusterAgentBasic source)
public String getRegion()
public void setRegion(String Region)
Region
- 集群IDpublic String getClusterType()
public void setClusterType(String ClusterType)
ClusterType
- 集群类型public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- 集群IDpublic Boolean getEnableExternal()
public void setEnableExternal(Boolean EnableExternal)
EnableExternal
- 是否开启公网CLBpublic PrometheusClusterAgentPodConfig getInClusterPodConfig()
public void setInClusterPodConfig(PrometheusClusterAgentPodConfig InClusterPodConfig)
InClusterPodConfig
- 集群内部署组件的pod配置public Label[] getExternalLabels()
public void setExternalLabels(Label[] ExternalLabels)
ExternalLabels
- 该集群采集的所有指标都会带上这些labelspublic Boolean getNotInstallBasicScrape()
public void setNotInstallBasicScrape(Boolean NotInstallBasicScrape)
NotInstallBasicScrape
- 是否安装默认采集配置public Boolean getNotScrape()
public void setNotScrape(Boolean NotScrape)
NotScrape
- 是否采集指标,true代表drop所有指标,false代表采集默认指标Copyright © 2022. All rights reserved.