public static class ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfigTargetList
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
arn
The Alibaba Cloud Resource Name (ARN) of the resource.
|
String |
id
The ID of the resource for which alerts are triggered.
|
String |
jsonParams
The parameters of the alert callback.
|
String |
level
The level of the alert.
|
| 构造器和说明 |
|---|
ModifyGroupMonitoringAgentProcessRequestAlertConfigTargetList() |
@NameInMap(value="Arn") public String arn
The Alibaba Cloud Resource Name (ARN) of the resource.
For information about how to obtain the ARN of a resource, see DescribeMetricRuleTargets.
Format: acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message. Example: acs:mns:cn-hangzhou:120886317861****:/queues/test123/message. Fields:
acs:mns:cn-hangzhou:120886317861****:/queues/test/message
@NameInMap(value="Id") public String id
The ID of the resource for which alerts are triggered.
For information about how to obtain the ID of a resource for which alerts are triggered, see DescribeMetricRuleTargets.
example:1
@NameInMap(value="JsonParams") public String jsonParams
The parameters of the alert callback. The parameters are in the JSON format.
example:{"customField1":"value1","customField2":"$.name"}
@NameInMap(value="Level") public String level
The level of the alert. Valid values:
["INFO", "WARN", "CRITICAL"]
public ModifyGroupMonitoringAgentProcessRequestAlertConfigTargetList()
public static ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfigTargetList build(Map<String,?> map) throws Exception
Exceptionpublic ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfigTargetList setArn(String arn)
public String getArn()
public ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfigTargetList setId(String id)
public String getId()
public ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfigTargetList setJsonParams(String jsonParams)
public String getJsonParams()
public ModifyGroupMonitoringAgentProcessRequest.ModifyGroupMonitoringAgentProcessRequestAlertConfigTargetList setLevel(String level)
public String getLevel()
Copyright © 2026. All rights reserved.