Skip to content

MetricRuleTemplateProps

Properties for defining a MetricRuleTemplate.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcms"
&alicloudroscdkcms.MetricRuleTemplateProps {
    Name: interface{},
    AlertTemplates: interface{},
    Description: interface{},
    RestVersion: interface{},
    TemplateId: interface{},
}

Properties

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

NameRequired

Name interface{}
  • Type: interface{}

Property name: The name of the alert template.


AlertTemplatesOptional

AlertTemplates interface{}
  • Type: interface{}

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


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: The description of the alert template.


RestVersionOptional

RestVersion interface{}
  • Type: interface{}

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

TemplateId interface{}
  • Type: interface{}

Property templateId: The ID of the alert template.