GroupMetricRuleProps
Properties for defining a GroupMetricRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-groupmetricrule
Initializer
using AlibabaCloud.SDK.ROS.CDK.Cms;
new GroupMetricRuleProps {
object Category,
object Escalations,
object GroupId,
object MetricName,
object Namespace,
object RuleId,
object RuleName,
object Dimensions = null,
object EffectiveInterval = null,
object EmailSubject = null,
object Interval = null,
object NoEffectiveInterval = null,
object Period = null,
object SilenceTime = null,
object Webhook = null
};
Properties
Name | Type | Description |
---|---|---|
Category |
object |
Property category: The abbreviation of the service name. |
Escalations |
object |
Property escalations: undefined. |
GroupId |
object |
Property groupId: The ID of application group. |
MetricName |
object |
Property metricName: The name of the metric. |
Namespace |
object |
Property namespace: The data namespace of the service. |
RuleId |
object |
Property ruleId: The ID of the alert rule. |
RuleName |
object |
Property ruleName: The name of the alert rule. |
Dimensions |
object |
Property dimensions: The expended resource dimensions. |
EffectiveInterval |
object |
Property effectiveInterval: The period when the alert rule is effective. |
EmailSubject |
object |
Property emailSubject: The subject of the alert notification email. |
Interval |
object |
Property interval: The detection period of alerts. |
NoEffectiveInterval |
object |
Property noEffectiveInterval: The period when the alert rule is ineffective. |
Period |
object |
Property period: The aggregation period. |
SilenceTime |
object |
Property silenceTime: The duration of the mute period during which new alerts are not sent even if the trigger conditions are met. |
Webhook |
object |
Property webhook: The URL of the callback triggered when an alert occurs. |
Category
Required
public object Category { get; set; }
- Type: object
Property category: The abbreviation of the service name.
Valid values: ECS (including Alibaba Cloud and non-Alibaba Cloud hosts) RDS (ApsaraDB for RDS) ADS (AnalyticDB) SLB (Server Load Balancer) VPC (Virtual Private Cloud) APIGATEWAY (API Gateway) CDN CS (Container Service for Swarm) DCDN (Dynamic Route for CDN) DDoS (distributed denial of service) EIP (Elastic IP) ELASTICSEARCH (Elasticsearch) EMR (E-MapReduce) ESS (Auto Scaling) HBASE (ApsaraDB for HBase) IOT_EDGE (IoT Edge) K8S_POD (k8s pod) KVSTORE_SHARDING (ApsaraDB for Redis cluster version) KVSTORE_SPLITRW (ApsaraDB for Redis read/write splitting version) KVSTORE_STANDARD (ApsaraDB for Redis standard version) MEMCACHE (ApsaraDB for Memcache) MNS (Message Service) MONGODB (ApsaraDB for MongoDB replica set instances) MONGODB_CLUSTER (ApsaraDB for MongoDB cluster version) MONGODB_SHARDING (ApsaraDB for MongoDB sharded clusters) MQ_TOPIC (Message Service topic) OCS (original version of ApsaraDB for Memcache) OPENSEARCH (Open Search) OSS (Object Storage Service) POLARDB (ApsaraDB for POLARDB) PETADATA (HybridDB for MySQL) SCDN (Secure Content Delivery Network) SHAREBANDWIDTHPACKAGES (shared bandwidth package) SLS (Log Service) VPN (VPN Gateway)
Escalations
Required
public object Escalations { get; set; }
- Type: object
Property escalations: undefined.
GroupId
Required
public object GroupId { get; set; }
- Type: object
Property groupId: The ID of application group.
MetricName
Required
public object MetricName { get; set; }
- Type: object
Property metricName: The name of the metric.
For more information, call DescribeMetricMetaList or see Preset metrics reference.
Namespace
Required
public object Namespace { get; set; }
- Type: object
Property namespace: The data namespace of the service.
For more information, call DescribeMetricMetaList or see Preset metrics reference.
RuleId
Required
public object RuleId { get; set; }
- Type: object
Property ruleId: The ID of the alert rule.
The IDs of alert rules are generated by callers to ensure uniqueness.
RuleName
Required
public object RuleName { get; set; }
- Type: object
Property ruleName: The name of the alert rule.
Dimensions
Optional
public object Dimensions { get; set; }
- Type: object
Property dimensions: The expended resource dimensions.
EffectiveInterval
Optional
public object EffectiveInterval { get; set; }
- Type: object
Property effectiveInterval: The period when the alert rule is effective.
EmailSubject
Optional
public object EmailSubject { get; set; }
- Type: object
Property emailSubject: The subject of the alert notification email.
Interval
Optional
public object Interval { get; set; }
- Type: object
Property interval: The detection period of alerts.
NoEffectiveInterval
Optional
public object NoEffectiveInterval { get; set; }
- Type: object
Property noEffectiveInterval: The period when the alert rule is ineffective.
Period
Optional
public object Period { get; set; }
- Type: object
Property period: The aggregation period.
Unite: second.
SilenceTime
Optional
public object SilenceTime { get; set; }
- Type: object
Property silenceTime: The duration of the mute period during which new alerts are not sent even if the trigger conditions are met.
Unit: second. Default value: 86400. Minimum value: 60.
Webhook
Optional
public object Webhook { get; set; }
- Type: object
Property webhook: The URL of the callback triggered when an alert occurs.