public class AlarmPolicyRule extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AlarmPolicyRule() | 
| AlarmPolicyRule(AlarmPolicyRule 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Long | getContinuePeriod()Get 周期数 持续通知周期 1=持续1个周期 2=持续2个周期...,支持的值可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getDescription()Get 指标展示名,用于出参
注意:此字段可能返回 null,表示取不到有效值。 | 
| AlarmPolicyFilter | getFilter()Get 对于单个触发规则的过滤条件
注意:此字段可能返回 null,表示取不到有效值。 | 
| AlarmHierarchicalValue | getHierarchicalValue()Get 告警分级阈值配置
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getIsAdvanced()Get 是否为高级指标,0否,1是
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getIsLatenessMetric()Get 是否延迟指标
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getIsOpen()Get 高级指标是否开通,0否,1是
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getIsPowerNotice()Get 告警频率是否指数增长 0=否 1=是
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getMetricName()Get 指标名或事件名,支持的指标可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询,支持的事件可以从 [DescribeAlarmEvents](https://cloud.tencent.com/document/product/248/51284) 查询 。
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getNoticeFrequency()Get 秒数 告警间隔  0=不重复 300=每5分钟告警一次 600=每10分钟告警一次 900=每15分钟告警一次 1800=每30分钟告警一次 3600=每1小时告警一次 7200=每2小时告警一次 10800=每3小时告警一次 21600=每6小时告警一次 43200=每12小时告警一次 86400=每1天告警一次
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getOperator()Get 英文运算符
intelligent=无阈值智能检测
eq=等于
ge=大于等于
gt=大于
le=小于等于
lt=小于
ne=不等于
day_increase=天同比增长
day_decrease=天同比下降
day_wave=天同比波动
week_increase=周同比增长
week_decrease=周同比下降
week_wave=周同比波动
cycle_increase=环比增长
cycle_decrease=环比下降
cycle_wave=环比波动
re=正则匹配
支持的值可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询。
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getPeriod()Get 秒数 统计周期,支持的值可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询。
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getProductId()Get 集成中心产品ID
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getRuleType()Get 触发条件类型 STATIC=静态阈值 DYNAMIC=动态阈值。创建或编辑策略时,如不填则默认为 STATIC。
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getUnit()Get 单位,用于出参
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getValue()Get 阈值,支持的范围可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询。
注意:此字段可能返回 null,表示取不到有效值。 | 
| Float | getValueMax()Get 最大值
注意:此字段可能返回 null,表示取不到有效值。 | 
| Float | getValueMin()Get 最小值
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setContinuePeriod(Long ContinuePeriod)Set 周期数 持续通知周期 1=持续1个周期 2=持续2个周期...,支持的值可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setDescription(String Description)Set 指标展示名,用于出参
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setFilter(AlarmPolicyFilter Filter)Set 对于单个触发规则的过滤条件
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setHierarchicalValue(AlarmHierarchicalValue HierarchicalValue)Set 告警分级阈值配置
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setIsAdvanced(Long IsAdvanced)Set 是否为高级指标,0否,1是
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setIsLatenessMetric(Long IsLatenessMetric)Set 是否延迟指标
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setIsOpen(Long IsOpen)Set 高级指标是否开通,0否,1是
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setIsPowerNotice(Long IsPowerNotice)Set 告警频率是否指数增长 0=否 1=是
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setMetricName(String MetricName)Set 指标名或事件名,支持的指标可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询,支持的事件可以从 [DescribeAlarmEvents](https://cloud.tencent.com/document/product/248/51284) 查询 。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setNoticeFrequency(Long NoticeFrequency)Set 秒数 告警间隔  0=不重复 300=每5分钟告警一次 600=每10分钟告警一次 900=每15分钟告警一次 1800=每30分钟告警一次 3600=每1小时告警一次 7200=每2小时告警一次 10800=每3小时告警一次 21600=每6小时告警一次 43200=每12小时告警一次 86400=每1天告警一次
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setOperator(String Operator)Set 英文运算符
intelligent=无阈值智能检测
eq=等于
ge=大于等于
gt=大于
le=小于等于
lt=小于
ne=不等于
day_increase=天同比增长
day_decrease=天同比下降
day_wave=天同比波动
week_increase=周同比增长
week_decrease=周同比下降
week_wave=周同比波动
cycle_increase=环比增长
cycle_decrease=环比下降
cycle_wave=环比波动
re=正则匹配
支持的值可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setPeriod(Long Period)Set 秒数 统计周期,支持的值可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setProductId(String ProductId)Set 集成中心产品ID
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setRuleType(String RuleType)Set 触发条件类型 STATIC=静态阈值 DYNAMIC=动态阈值。创建或编辑策略时,如不填则默认为 STATIC。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setUnit(String Unit)Set 单位,用于出参
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setValue(String Value)Set 阈值,支持的范围可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setValueMax(Float ValueMax)Set 最大值
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setValueMin(Float ValueMin)Set 最小值
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AlarmPolicyRule()
public AlarmPolicyRule(AlarmPolicyRule source)
public String getMetricName()
public void setMetricName(String MetricName)
MetricName - 指标名或事件名,支持的指标可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询,支持的事件可以从 [DescribeAlarmEvents](https://cloud.tencent.com/document/product/248/51284) 查询 。
注意:此字段可能返回 null,表示取不到有效值。public Long getPeriod()
public void setPeriod(Long Period)
Period - 秒数 统计周期,支持的值可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询。
注意:此字段可能返回 null,表示取不到有效值。public String getOperator()
public void setOperator(String Operator)
Operator - 英文运算符
intelligent=无阈值智能检测
eq=等于
ge=大于等于
gt=大于
le=小于等于
lt=小于
ne=不等于
day_increase=天同比增长
day_decrease=天同比下降
day_wave=天同比波动
week_increase=周同比增长
week_decrease=周同比下降
week_wave=周同比波动
cycle_increase=环比增长
cycle_decrease=环比下降
cycle_wave=环比波动
re=正则匹配
支持的值可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询。
注意:此字段可能返回 null,表示取不到有效值。public String getValue()
public void setValue(String Value)
Value - 阈值,支持的范围可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询。
注意:此字段可能返回 null,表示取不到有效值。public Long getContinuePeriod()
public void setContinuePeriod(Long ContinuePeriod)
ContinuePeriod - 周期数 持续通知周期 1=持续1个周期 2=持续2个周期...,支持的值可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询
注意:此字段可能返回 null,表示取不到有效值。public Long getNoticeFrequency()
public void setNoticeFrequency(Long NoticeFrequency)
NoticeFrequency - 秒数 告警间隔  0=不重复 300=每5分钟告警一次 600=每10分钟告警一次 900=每15分钟告警一次 1800=每30分钟告警一次 3600=每1小时告警一次 7200=每2小时告警一次 10800=每3小时告警一次 21600=每6小时告警一次 43200=每12小时告警一次 86400=每1天告警一次
注意:此字段可能返回 null,表示取不到有效值。public Long getIsPowerNotice()
public void setIsPowerNotice(Long IsPowerNotice)
IsPowerNotice - 告警频率是否指数增长 0=否 1=是
注意:此字段可能返回 null,表示取不到有效值。public AlarmPolicyFilter getFilter()
public void setFilter(AlarmPolicyFilter Filter)
Filter - 对于单个触发规则的过滤条件
注意:此字段可能返回 null,表示取不到有效值。public String getDescription()
public void setDescription(String Description)
Description - 指标展示名,用于出参
注意:此字段可能返回 null,表示取不到有效值。public String getUnit()
public void setUnit(String Unit)
Unit - 单位,用于出参
注意:此字段可能返回 null,表示取不到有效值。public String getRuleType()
public void setRuleType(String RuleType)
RuleType - 触发条件类型 STATIC=静态阈值 DYNAMIC=动态阈值。创建或编辑策略时,如不填则默认为 STATIC。
注意:此字段可能返回 null,表示取不到有效值。public Long getIsAdvanced()
public void setIsAdvanced(Long IsAdvanced)
IsAdvanced - 是否为高级指标,0否,1是
注意:此字段可能返回 null,表示取不到有效值。public Long getIsOpen()
public void setIsOpen(Long IsOpen)
IsOpen - 高级指标是否开通,0否,1是
注意:此字段可能返回 null,表示取不到有效值。public String getProductId()
public void setProductId(String ProductId)
ProductId - 集成中心产品ID
注意:此字段可能返回 null,表示取不到有效值。public Float getValueMax()
public void setValueMax(Float ValueMax)
ValueMax - 最大值
注意:此字段可能返回 null,表示取不到有效值。public Float getValueMin()
public void setValueMin(Float ValueMin)
ValueMin - 最小值
注意:此字段可能返回 null,表示取不到有效值。public AlarmHierarchicalValue getHierarchicalValue()
public void setHierarchicalValue(AlarmHierarchicalValue HierarchicalValue)
HierarchicalValue - 告警分级阈值配置
注意:此字段可能返回 null,表示取不到有效值。public Long getIsLatenessMetric()
public void setIsLatenessMetric(Long IsLatenessMetric)
IsLatenessMetric - 是否延迟指标
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.