Package | Description |
---|---|
com.tencentcloudapi.tke.v20180525.models |
Modifier and Type | Method and Description |
---|---|
PrometheusAlertRule[] |
PrometheusTemplate.getAlertRules()
Get 当Level为instance时有效,
模板中的告警配置列表
注意:此字段可能返回 null,表示取不到有效值。
|
PrometheusAlertRule[] |
PrometheusTemplateModify.getAlertRules()
Get 修改内容,只有当模板类型是Alert时生效
注意:此字段可能返回 null,表示取不到有效值。
|
PrometheusAlertRule[] |
PrometheusAlertRuleDetail.getRules()
Get 规则列表
|
PrometheusAlertRule[] |
PrometheusAlertPolicyItem.getRules()
Get 规则列表
|
Modifier and Type | Method and Description |
---|---|
void |
PrometheusTemplate.setAlertRules(PrometheusAlertRule[] AlertRules)
Set 当Level为instance时有效,
模板中的告警配置列表
注意:此字段可能返回 null,表示取不到有效值。
|
void |
PrometheusTemplateModify.setAlertRules(PrometheusAlertRule[] AlertRules)
Set 修改内容,只有当模板类型是Alert时生效
注意:此字段可能返回 null,表示取不到有效值。
|
void |
PrometheusAlertRuleDetail.setRules(PrometheusAlertRule[] Rules)
Set 规则列表
|
void |
PrometheusAlertPolicyItem.setRules(PrometheusAlertRule[] Rules)
Set 规则列表
|
Constructor and Description |
---|
PrometheusAlertRule(PrometheusAlertRule 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.
|
Copyright © 2023. All rights reserved.