MetricRuleTemplateProps
Properties for defining a MetricRuleTemplate
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-metricruletemplate
Initializer
import ros_cdk_cms
ros_cdk_cms.MetricRuleTemplateProps(
name: typing.Union[str, IResolvable],
alert_templates: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, AlertTemplatesProperty]]] = None,
description: typing.Union[str, IResolvable] = None,
rest_version: typing.Union[typing.Union[int, float], IResolvable] = None,
template_id: typing.Union[typing.Union[int, float], IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property name: The name of the alert template. |
alert_templates |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, AlertTemplatesProperty]]] |
Property alertTemplates: Valid values of N: 0 to 200. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: The description of the alert template. |
rest_version |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property restVersion: The version of the alert template. |
template_id |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property templateId: The ID of the alert template. |
name
Required
name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property name: The name of the alert template.
alert_templates
Optional
alert_templates: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, AlertTemplatesProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, AlertTemplatesProperty]]]
Property alertTemplates: Valid values of N: 0 to 200.
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: The description of the alert template.
rest_version
Optional
rest_version: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], 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.
template_id
Optional
template_id: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property templateId: The ID of the alert template.