Skip to content

MetricRuleTemplateProps

Properties for defining a MetricRuleTemplate.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-metricruletemplate

Initializer

using AlibabaCloud.SDK.ROS.CDK.Cms;
new MetricRuleTemplateProps {
    object Name,
    object AlertTemplates = null,
    object Description = null,
    object RestVersion = null,
    object TemplateId = null
};

Properties

Name Type Description
Name object Property name: The name of the alert template.
AlertTemplates object Property alertTemplates: Valid values of N: 0 to 200.
Description object Property description: The description of the alert template.
RestVersion object Property restVersion: The version of the alert template.
TemplateId object Property templateId: The ID of the alert template.

NameRequired

public object Name { get; set; }
  • Type: object

Property name: The name of the alert template.


AlertTemplatesOptional

public object AlertTemplates { get; set; }
  • Type: object

Property alertTemplates: Valid values of N: 0 to 200.


DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: The description of the alert template.


RestVersionOptional

public object RestVersion { get; set; }
  • Type: object

Property restVersion: The version of the alert template.

Call DescribeMetricRuleTemplateList or DescribeMetricRuleTemplateAttribute to obtain information about the alert templates. The combination of version and ID uniquely identifies an alert template.


TemplateIdOptional

public object TemplateId { get; set; }
  • Type: object

Property templateId: The ID of the alert template.