MetricRuleTemplateProps
Properties for defining a MetricRuleTemplate
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-metricruletemplate
Initializer
import { MetricRuleTemplateProps } from '@alicloud/ros-cdk-cms'
const metricRuleTemplateProps: MetricRuleTemplateProps = { ... }
Properties
Name | Type | Description |
---|---|---|
name |
string | @alicloud/ros-cdk-core.IResolvable |
Property name: The name of the alert template. |
alertTemplates |
@alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AlertTemplatesProperty[] |
Property alertTemplates: Valid values of N: 0 to 200. |
description |
string | @alicloud/ros-cdk-core.IResolvable |
Property description: The description of the alert template. |
restVersion |
number | @alicloud/ros-cdk-core.IResolvable |
Property restVersion: The version of the alert template. |
templateId |
number | @alicloud/ros-cdk-core.IResolvable |
Property templateId: The ID of the alert template. |
name
Required
public readonly name: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property name: The name of the alert template.
alertTemplates
Optional
public readonly alertTemplates: IResolvable | IResolvable | AlertTemplatesProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | AlertTemplatesProperty[]
Property alertTemplates: Valid values of N: 0 to 200.
description
Optional
public readonly description: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property description: The description of the alert template.
restVersion
Optional
public readonly restVersion: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
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.
templateId
Optional
public readonly templateId: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property templateId: The ID of the alert template.