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 Cluster ID
|
String |
getClusterType()
Get Cluster type
|
Boolean |
getEnableExternal()
Get Whether to enable public network CLB
|
Label[] |
getExternalLabels()
Get External labels, which will be attached to all metrics collected by this cluster
|
PrometheusClusterAgentPodConfig |
getInClusterPodConfig()
Get Pod configurations of components deployed in the cluster
|
Boolean |
getNotInstallBasicScrape()
Get Whether to install the default collection configuration.
|
Boolean |
getNotScrape()
Get Whether to collect metrics (`true`: Drop all metrics; `false`: Collect default metrics)
|
Boolean |
getOpenDefaultRecord()
Get Whether to enable the default recording rule
|
String |
getRegion()
Get Cluster ID
|
void |
setClusterId(String ClusterId)
Set Cluster ID
|
void |
setClusterType(String ClusterType)
Set Cluster type
|
void |
setEnableExternal(Boolean EnableExternal)
Set Whether to enable public network CLB
|
void |
setExternalLabels(Label[] ExternalLabels)
Set External labels, which will be attached to all metrics collected by this cluster
|
void |
setInClusterPodConfig(PrometheusClusterAgentPodConfig InClusterPodConfig)
Set Pod configurations of components deployed in the cluster
|
void |
setNotInstallBasicScrape(Boolean NotInstallBasicScrape)
Set Whether to install the default collection configuration.
|
void |
setNotScrape(Boolean NotScrape)
Set Whether to collect metrics (`true`: Drop all metrics; `false`: Collect default metrics)
|
void |
setOpenDefaultRecord(Boolean OpenDefaultRecord)
Set Whether to enable the default recording rule
|
void |
setRegion(String Region)
Set Cluster 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
- Cluster IDpublic String getClusterType()
public void setClusterType(String ClusterType)
ClusterType
- Cluster typepublic String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Cluster IDpublic Boolean getEnableExternal()
public void setEnableExternal(Boolean EnableExternal)
EnableExternal
- Whether to enable public network CLBpublic PrometheusClusterAgentPodConfig getInClusterPodConfig()
public void setInClusterPodConfig(PrometheusClusterAgentPodConfig InClusterPodConfig)
InClusterPodConfig
- Pod configurations of components deployed in the clusterpublic Label[] getExternalLabels()
public void setExternalLabels(Label[] ExternalLabels)
ExternalLabels
- External labels, which will be attached to all metrics collected by this clusterpublic Boolean getNotInstallBasicScrape()
public void setNotInstallBasicScrape(Boolean NotInstallBasicScrape)
NotInstallBasicScrape
- Whether to install the default collection configuration.public Boolean getNotScrape()
public void setNotScrape(Boolean NotScrape)
NotScrape
- Whether to collect metrics (`true`: Drop all metrics; `false`: Collect default metrics)public Boolean getOpenDefaultRecord()
public void setOpenDefaultRecord(Boolean OpenDefaultRecord)
OpenDefaultRecord
- Whether to enable the default recording ruleCopyright © 2023. All rights reserved.