public static class DescribePrometheusAlertRuleResponseBody.DescribePrometheusAlertRuleResponseBodyPrometheusAlertRuleAnnotations
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
name
The name of the annotation.
|
String |
value
The value of the annotation.
|
| 构造器和说明 |
|---|
DescribePrometheusAlertRuleResponseBodyPrometheusAlertRuleAnnotations() |
@NameInMap(value="Name") public String name
The name of the annotation.
example:message
@NameInMap(value="Value") public String value
The value of the annotation.
example:The CPU utilization of ${{$labels.pod_name}} has exceeded 80%. Current value: {{$value}}%
public DescribePrometheusAlertRuleResponseBodyPrometheusAlertRuleAnnotations()
public static DescribePrometheusAlertRuleResponseBody.DescribePrometheusAlertRuleResponseBodyPrometheusAlertRuleAnnotations build(Map<String,?> map) throws Exception
Exceptionpublic DescribePrometheusAlertRuleResponseBody.DescribePrometheusAlertRuleResponseBodyPrometheusAlertRuleAnnotations setName(String name)
public String getName()
public DescribePrometheusAlertRuleResponseBody.DescribePrometheusAlertRuleResponseBodyPrometheusAlertRuleAnnotations setValue(String value)
public String getValue()
Copyright © 2024. All rights reserved.