public static class DescribeAlertingMetricRuleResourcesResponseBody.DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
dimensions
The dimensions that specify the resources whose monitoring data you want to query.
|
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 timestamp when the last alert was triggered for the resource based on the alert rule.
|
String |
lastModifyTime
The timestamp 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 timestamp when the resource was associated with the alert rule.
|
String |
statistics
The method used to calculate metric values that trigger alerts.
|
String |
threshold
The alert threshold.
|
| 构造器和说明 |
|---|
DescribeAlertingMetricRuleResourcesResponseBodyResourcesResource() |
@NameInMap(value="Dimensions") public String dimensions
The dimensions that specify the resources whose monitoring data you want to query.
@NameInMap(value="Enable") public String enable
Indicates whether the alert rule is enabled. Valid values:
* true: The alert rule is enabled.
* false: The alert rule is disabled.
@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.
> If the alert rule is associated with an application group, the ID of the application group is returned in this parameter.
@NameInMap(value="LastAlertTime") public String lastAlertTime
The timestamp when the last alert was triggered for the resource based on the alert rule.
Unit: milliseconds.
@NameInMap(value="LastModifyTime") public String lastModifyTime
The timestamp when the alert rule was last modified.
Unit: milliseconds.
@NameInMap(value="Level") public Integer level
The severity level and notification methods of the alert. Valid values:
* 4: Alert notifications are sent by using emails and DingTalk chatbots.
* OK: No alert is generated.
@NameInMap(value="MetricName") public String metricName
The metric name.
@NameInMap(value="MetricValues") public String metricValues
The metric value that triggered the alert based on the alert rule. The value is a JSON string.
@NameInMap(value="Namespace") public String namespace
The namespace of the cloud service.
@NameInMap(value="ProductCategory") public String productCategory
The type of the cloud service.
@NameInMap(value="Resource") public String resource
The resources that are monitored.
@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.
@NameInMap(value="RuleId") public String ruleId
The ID of the alert rule.
@NameInMap(value="RuleName") public String ruleName
The name of the alert rule.
@NameInMap(value="StartTime") public String startTime
The timestamp when the resource was associated with the alert rule.
Unit: milliseconds.
@NameInMap(value="Statistics") public String statistics
The method used to calculate metric values that trigger alerts.
@NameInMap(value="Threshold") public String threshold
The alert threshold.
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 © 2024. All rights reserved.