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