public class PrometheusTempModify extends AbstractModel
header, skipSign| Constructor and Description |
|---|
PrometheusTempModify() |
PrometheusTempModify(PrometheusTempModify 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 |
|---|---|
PrometheusAlertPolicyItem[] |
getAlertDetailRules()
Get Modification content, which is valid only if template type is `Alert`.
|
String |
getDescribe()
Get Description
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getName()
Get Name
|
PrometheusConfigItem[] |
getPodMonitors()
Get This parameter is valid if `Level` is `cluster`.
|
PrometheusConfigItem[] |
getRawJobs()
Get This parameter is valid if `Level` is `cluster`.
|
PrometheusConfigItem[] |
getRecordRules()
Get This parameter is valid if `Level` is `instance`.
|
PrometheusConfigItem[] |
getServiceMonitors()
Get This parameter is valid if `Level` is `cluster`.
|
void |
setAlertDetailRules(PrometheusAlertPolicyItem[] AlertDetailRules)
Set Modification content, which is valid only if template type is `Alert`.
|
void |
setDescribe(String Describe)
Set Description
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setName(String Name)
Set Name
|
void |
setPodMonitors(PrometheusConfigItem[] PodMonitors)
Set This parameter is valid if `Level` is `cluster`.
|
void |
setRawJobs(PrometheusConfigItem[] RawJobs)
Set This parameter is valid if `Level` is `cluster`.
|
void |
setRecordRules(PrometheusConfigItem[] RecordRules)
Set This parameter is valid if `Level` is `instance`.
|
void |
setServiceMonitors(PrometheusConfigItem[] ServiceMonitors)
Set This parameter is valid if `Level` is `cluster`.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic PrometheusTempModify()
public PrometheusTempModify(PrometheusTempModify source)
public String getName()
public void setName(String Name)
Name - Namepublic String getDescribe()
public void setDescribe(String Describe)
Describe - Description
Note: This field may return null, indicating that no valid values can be obtained.public PrometheusConfigItem[] getServiceMonitors()
public void setServiceMonitors(PrometheusConfigItem[] ServiceMonitors)
ServiceMonitors - This parameter is valid if `Level` is `cluster`.
List of ServiceMonitor rules in the template.
Note: This field may return null, indicating that no valid values can be obtained.public PrometheusConfigItem[] getPodMonitors()
public void setPodMonitors(PrometheusConfigItem[] PodMonitors)
PodMonitors - This parameter is valid if `Level` is `cluster`.
List of PodMonitor rules in the template.
Note: This field may return null, indicating that no valid values can be obtained.public PrometheusConfigItem[] getRawJobs()
public void setRawJobs(PrometheusConfigItem[] RawJobs)
RawJobs - This parameter is valid if `Level` is `cluster`.
List of RawJob rules in the template.
Note: This field may return null, indicating that no valid values can be obtained.public PrometheusConfigItem[] getRecordRules()
public void setRecordRules(PrometheusConfigItem[] RecordRules)
RecordRules - This parameter is valid if `Level` is `instance`.
List of recording rules in the template
Note: This field may return null, indicating that no valid values can be obtained.public PrometheusAlertPolicyItem[] getAlertDetailRules()
public void setAlertDetailRules(PrometheusAlertPolicyItem[] AlertDetailRules)
AlertDetailRules - Modification content, which is valid only if template type is `Alert`.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.