public class PrometheusAlertGroupSet extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| PrometheusAlertGroupSet() | 
| PrometheusAlertGroupSet(PrometheusAlertGroupSet 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 | 
|---|---|
| String[] | getAMPReceivers()Get 腾讯云可观测平台告警模板ID ,返回告警模板转换后的notice ID。
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getCreatedAt()Get 分组创建时间
注意:此字段可能返回 null,表示取不到有效值。 | 
| PrometheusAlertCustomReceiver | getCustomReceiver()Get 自定义告警模板
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getGroupId()Get 告警分组ID,满足正则表达式`alert-[a-z0-9]{8}`
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getGroupName()Get 告警分组名称
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getRepeatInterval()Get 告警通知间隔
注意:此字段可能返回 null,表示取不到有效值。 | 
| PrometheusAlertGroupRuleSet[] | getRules()Get 分组内告警规则详情
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getTemplateId()Get 若告警分组通过模板创建,则返回模板ID
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getUpdatedAt()Get 分组更新时间
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setAMPReceivers(String[] AMPReceivers)Set 腾讯云可观测平台告警模板ID ,返回告警模板转换后的notice ID。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setCreatedAt(String CreatedAt)Set 分组创建时间
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setCustomReceiver(PrometheusAlertCustomReceiver CustomReceiver)Set 自定义告警模板
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setGroupId(String GroupId)Set 告警分组ID,满足正则表达式`alert-[a-z0-9]{8}`
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setGroupName(String GroupName)Set 告警分组名称
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setRepeatInterval(String RepeatInterval)Set 告警通知间隔
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setRules(PrometheusAlertGroupRuleSet[] Rules)Set 分组内告警规则详情
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setTemplateId(String TemplateId)Set 若告警分组通过模板创建,则返回模板ID
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setUpdatedAt(String UpdatedAt)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 PrometheusAlertGroupSet()
public PrometheusAlertGroupSet(PrometheusAlertGroupSet source)
public String getGroupId()
public void setGroupId(String GroupId)
GroupId - 告警分组ID,满足正则表达式`alert-[a-z0-9]{8}`
注意:此字段可能返回 null,表示取不到有效值。public String getGroupName()
public void setGroupName(String GroupName)
GroupName - 告警分组名称
注意:此字段可能返回 null,表示取不到有效值。public String[] getAMPReceivers()
public void setAMPReceivers(String[] AMPReceivers)
AMPReceivers - 腾讯云可观测平台告警模板ID ,返回告警模板转换后的notice ID。
注意:此字段可能返回 null,表示取不到有效值。public PrometheusAlertCustomReceiver getCustomReceiver()
public void setCustomReceiver(PrometheusAlertCustomReceiver CustomReceiver)
CustomReceiver - 自定义告警模板
注意:此字段可能返回 null,表示取不到有效值。public String getRepeatInterval()
public void setRepeatInterval(String RepeatInterval)
RepeatInterval - 告警通知间隔
注意:此字段可能返回 null,表示取不到有效值。public String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId - 若告警分组通过模板创建,则返回模板ID
注意:此字段可能返回 null,表示取不到有效值。public PrometheusAlertGroupRuleSet[] getRules()
public void setRules(PrometheusAlertGroupRuleSet[] Rules)
Rules - 分组内告警规则详情
注意:此字段可能返回 null,表示取不到有效值。public String getCreatedAt()
public void setCreatedAt(String CreatedAt)
CreatedAt - 分组创建时间
注意:此字段可能返回 null,表示取不到有效值。public String getUpdatedAt()
public void setUpdatedAt(String UpdatedAt)
UpdatedAt - 分组更新时间
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.