Package | Description |
---|---|
com.tencentcloudapi.monitor.v20180724 | |
com.tencentcloudapi.monitor.v20180724.models |
Modifier and Type | Method and Description |
---|---|
UpdateAlertRuleResponse |
MonitorClient.UpdateAlertRule(UpdateAlertRuleRequest req)
更新 Prometheus 的报警规则。
请注意,**告警对象和告警消息是 Prometheus Rule Annotations 的特殊字段,需要通过 annotations 来传递,对应的 Key 分别为summary/description**,,请参考 [Prometheus Rule更多配置请参考](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/)。
|
Constructor and Description |
---|
UpdateAlertRuleRequest(UpdateAlertRuleRequest 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.