public class UpdatePrometheusAlertGroupRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpdatePrometheusAlertGroupRequest() |
UpdatePrometheusAlertGroupRequest(UpdatePrometheusAlertGroupRequest 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 |
getGroupId()
Get Alert group ID, such as alert-xxxx.
|
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 |
setGroupId(String GroupId)
Set Alert group ID, such as alert-xxxx.
|
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, toJsonString
public UpdatePrometheusAlertGroupRequest()
public UpdatePrometheusAlertGroupRequest(UpdatePrometheusAlertGroupRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- prometheus instance ID.public String getGroupId()
public void setGroupId(String GroupId)
GroupId
- Alert group ID, such as alert-xxxx.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 the Alert rule status under the `Rules` field to be overwritten 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.