public static class PutMetricRuleTargetsResponseBody.PutMetricRuleTargetsResponseBodyFailDataTargetsTarget
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
arn
The ARN of the resource.
|
String |
id
The ID of the resource for which alerts are triggered.
|
String |
level
The alert level.
|
| 构造器和说明 |
|---|
PutMetricRuleTargetsResponseBodyFailDataTargetsTarget() |
@NameInMap(value="Arn") public String arn
The ARN of the resource. Format: acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message. SMQ, Auto Scaling, Simple Log Service, and Function Compute are supported. Example: acs:mns:cn-hangzhou:120886317861****:/queues/test123/message. The following part describes the ARN of SMQ and the parameters in the ARN:
{Service name abbreviation}: mns.
{userId}: the ID of the Alibaba Cloud account.
{regionId}: the region ID of the SMQ queue or topic.
{Resource type}: the type of the resource for which alerts are triggered. Valid values:
{Resource name}: the resource name.
acs:mns:cn-hangzhou:111:/queues/test/message
@NameInMap(value="Id") public String id
The ID of the resource for which alerts are triggered.
example:1
@NameInMap(value="Level") public String level
The alert level. Valid values:
["INFO", "WARN", "CRITICAL"]
public PutMetricRuleTargetsResponseBodyFailDataTargetsTarget()
public static PutMetricRuleTargetsResponseBody.PutMetricRuleTargetsResponseBodyFailDataTargetsTarget build(Map<String,?> map) throws Exception
Exceptionpublic PutMetricRuleTargetsResponseBody.PutMetricRuleTargetsResponseBodyFailDataTargetsTarget setArn(String arn)
public String getArn()
public PutMetricRuleTargetsResponseBody.PutMetricRuleTargetsResponseBodyFailDataTargetsTarget setId(String id)
public String getId()
public PutMetricRuleTargetsResponseBody.PutMetricRuleTargetsResponseBodyFailDataTargetsTarget setLevel(String level)
public String getLevel()
Copyright © 2026. All rights reserved.