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