Package | Description |
---|---|
com.tencentcloudapi.monitor.v20180724.models |
Modifier and Type | Method and Description |
---|---|
PrometheusRuleKV[] |
CreateAlertRuleRequest.getAnnotations()
Get 注释列表。
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
PrometheusRuleKV[] |
UpdateAlertRuleRequest.getAnnotations()
Get 报警规则注释列表。
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
PrometheusRuleKV[] |
PrometheusRuleSet.getAnnotations()
Get 规则注释列表
注意:此字段可能返回 null,表示取不到有效值。
|
PrometheusRuleKV[] |
CreateAlertRuleRequest.getLabels()
Get 标签列表
|
PrometheusRuleKV[] |
UpdateAlertRuleRequest.getLabels()
Get 报警规则标签列表
|
PrometheusRuleKV[] |
PrometheusRuleSet.getLabels()
Get 规则标签列表
注意:此字段可能返回 null,表示取不到有效值。
|
Modifier and Type | Method and Description |
---|---|
void |
CreateAlertRuleRequest.setAnnotations(PrometheusRuleKV[] Annotations)
Set 注释列表。
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
void |
UpdateAlertRuleRequest.setAnnotations(PrometheusRuleKV[] Annotations)
Set 报警规则注释列表。
告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description。
|
void |
PrometheusRuleSet.setAnnotations(PrometheusRuleKV[] Annotations)
Set 规则注释列表
注意:此字段可能返回 null,表示取不到有效值。
|
void |
CreateAlertRuleRequest.setLabels(PrometheusRuleKV[] Labels)
Set 标签列表
|
void |
UpdateAlertRuleRequest.setLabels(PrometheusRuleKV[] Labels)
Set 报警规则标签列表
|
void |
PrometheusRuleSet.setLabels(PrometheusRuleKV[] Labels)
Set 规则标签列表
注意:此字段可能返回 null,表示取不到有效值。
|
Constructor and Description |
---|
PrometheusRuleKV(PrometheusRuleKV 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 © 2022. All rights reserved.