public class CreatePrometheusAlertGroupRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreatePrometheusAlertGroupRequest()  | 
CreatePrometheusAlertGroupRequest(CreatePrometheusAlertGroupRequest 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 Alert notification template ID list of tencent cloud observability platform, such as Consumer-xxxx or notice-xxxx. 
 | 
PrometheusAlertCustomReceiver | 
getCustomReceiver()
Get Specifies the custom Alert notification template. 
 | 
String | 
getGroupName()
Get Alert group name. 
 | 
Long | 
getGroupState()
Get Alert group status. 
 | 
String | 
getInstanceId()
Get prometheus instance ID. 
 | 
String | 
getRepeatInterval()
Get Alert notification cycle (convergence time). 
 | 
PrometheusAlertGroupRuleSet[] | 
getRules()
Get Specifies the Alert rule list to be created. 
 | 
void | 
setAMPReceivers(String[] AMPReceivers)
Set Alert notification template ID list of tencent cloud observability platform, such as Consumer-xxxx or notice-xxxx. 
 | 
void | 
setCustomReceiver(PrometheusAlertCustomReceiver CustomReceiver)
Set Specifies the custom Alert notification template. 
 | 
void | 
setGroupName(String GroupName)
Set Alert group name. 
 | 
void | 
setGroupState(Long GroupState)
Set Alert group status. 
 | 
void | 
setInstanceId(String InstanceId)
Set prometheus instance ID. 
 | 
void | 
setRepeatInterval(String RepeatInterval)
Set Alert notification cycle (convergence time). 
 | 
void | 
setRules(PrometheusAlertGroupRuleSet[] Rules)
Set Specifies the Alert rule list to be created. 
 | 
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 CreatePrometheusAlertGroupRequest()
public CreatePrometheusAlertGroupRequest(CreatePrometheusAlertGroupRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - prometheus instance ID.public String getGroupName()
public void setGroupName(String GroupName)
GroupName - Alert group name. Not allowed to have the same name as other Alert groups.public Long getGroupState()
public void setGroupState(Long GroupState)
GroupState - Alert group status.
2 - enable.
3 - disabled.
Specifies to overwrite all alert rule statuses under the `Rules` field when not empty.public String[] getAMPReceivers()
public void setAMPReceivers(String[] AMPReceivers)
AMPReceivers - Alert notification template ID list of tencent cloud observability platform, such as Consumer-xxxx or notice-xxxx.public PrometheusAlertCustomReceiver getCustomReceiver()
public void setCustomReceiver(PrometheusAlertCustomReceiver CustomReceiver)
CustomReceiver - Specifies the custom Alert notification template.public String getRepeatInterval()
public void setRepeatInterval(String RepeatInterval)
RepeatInterval - Alert notification cycle (convergence time). defaults to 1h if left empty.public PrometheusAlertGroupRuleSet[] getRules()
public void setRules(PrometheusAlertGroupRuleSet[] Rules)
Rules - Specifies the Alert rule list to be created.Copyright © 2025. All rights reserved.