public static class DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
dimensions
The dimensions based on which the resources are queried.
|
String |
enable
Indicates whether the alert rule is enabled.
|
DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResourceEscalation |
escalation
The alert rule based on which the alert is triggered.
|
String |
groupId
The ID of the application group.
|
String |
lastAlertTime
The time when the last alert was triggered for the resource based on the alert rule.
|
String |
lastModifyTime
The time when the alert rule was last modified.
|
Integer |
level
The severity level and notification methods of the alert.
|
String |
metricName
The metric name.
|
String |
metricValues
The metric value that triggered the alert based on the alert rule.
|
String |
namespace
The namespace of the cloud service.
|
String |
productCategory
The type of the cloud service.
|
String |
resource
The resources that are monitored.
|
String |
retryTimes
The consecutive number of times for which the metric value meets the alert condition before an alert is triggered.
|
String |
ruleId
The ID of the alert rule.
|
String |
ruleName
The name of the alert rule.
|
String |
startTime
The time when the resource was associated with the alert rule.
|
String |
statistics
The method used to calculate the metric values that trigger alerts.
|
String |
threshold
The alert threshold.
|
| 构造器和说明 |
|---|
DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource() |
@NameInMap(value="Dimensions") public String dimensions
The dimensions based on which the resources are queried.
example:{\"region\":\"cn-huhehaote\",\"queue\":\"test-0128\",\"userId\":\"120886317861****\"}
@NameInMap(value="Enable") public String enable
Indicates whether the alert rule is enabled. Valid values:
true
@NameInMap(value="Escalation") public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResourceEscalation escalation
The alert rule based on which the alert is triggered.
@NameInMap(value="GroupId") public String groupId
The ID of the application group.
example:If the alert rule is associated with an application group, the ID of the application group is returned in this parameter.
7671****
@NameInMap(value="LastAlertTime") public String lastAlertTime
The time when the last alert was triggered for the resource based on the alert rule. The value is a timestamp.
Unit: milliseconds.
example:1622427900000
@NameInMap(value="LastModifyTime") public String lastModifyTime
The time when the alert rule was last modified. The value is a timestamp.
Unit: milliseconds.
example:1622827900000
@NameInMap(value="Level") public Integer level
The severity level and notification methods of the alert. Valid values:
3
@NameInMap(value="MetricName") public String metricName
The metric name.
example:ActiveMessages
@NameInMap(value="MetricValues") public String metricValues
The metric value that triggered the alert based on the alert rule. The value is a JSON string.
example:{\"timestamp\":1623727500000,\"Sum\":926,\"value\":463,\"Maximum\":463,\"Minimum\":463,\"Average\":463,\"SampleCount\":2,\"userId\":\"120886317861****\",\"region\":\"cn-huhehaote\",\"queue\":\"test-0128\"}
@NameInMap(value="Namespace") public String namespace
The namespace of the cloud service.
example:acs_mns_new
@NameInMap(value="ProductCategory") public String productCategory
The type of the cloud service.
example:mns
@NameInMap(value="Resource") public String resource
The resources that are monitored.
example:userId=120886317861****,region=cn-huhehaote,queue=test-0128
@NameInMap(value="RetryTimes") public String retryTimes
The consecutive number of times for which the metric value meets the alert condition before an alert is triggered.
example:3
@NameInMap(value="RuleId") public String ruleId
The ID of the alert rule.
example:putNewAlarm_user_7e78d765-0e3e-4671-ba6d-7ce39108****
@NameInMap(value="RuleName") public String ruleName
The name of the alert rule.
example:test123456789
@NameInMap(value="StartTime") public String startTime
The time when the resource was associated with the alert rule. The value is a timestamp.
Unit: milliseconds.
example:1622427900000
@NameInMap(value="Statistics") public String statistics
The method used to calculate the metric values that trigger alerts.
example:Average
@NameInMap(value="Threshold") public String threshold
The alert threshold.
example:10
public DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource()
public static DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource build(Map<String,?> map) throws Exception
Exceptionpublic DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setDimensions(String dimensions)
public String getDimensions()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setEnable(String enable)
public String getEnable()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setEscalation(DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResourceEscalation escalation)
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResourceEscalation getEscalation()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setGroupId(String groupId)
public String getGroupId()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setLastAlertTime(String lastAlertTime)
public String getLastAlertTime()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setLastModifyTime(String lastModifyTime)
public String getLastModifyTime()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setLevel(Integer level)
public Integer getLevel()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setMetricName(String metricName)
public String getMetricName()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setMetricValues(String metricValues)
public String getMetricValues()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setNamespace(String namespace)
public String getNamespace()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setProductCategory(String productCategory)
public String getProductCategory()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setResource(String resource)
public String getResource()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setRetryTimes(String retryTimes)
public String getRetryTimes()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setRuleId(String ruleId)
public String getRuleId()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setRuleName(String ruleName)
public String getRuleName()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setStartTime(String startTime)
public String getStartTime()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setStatistics(String statistics)
public String getStatistics()
public DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource setThreshold(String threshold)
public String getThreshold()
Copyright © 2026. All rights reserved.