ApplyAlertRuleTemplateProps
Properties for defining a ApplyAlertRuleTemplate
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-arms-applyalertruletemplate
Initializer
import ros_cdk_arms
ros_cdk_arms.ApplyAlertRuleTemplateProps(
cluster_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
template_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]] = None,
update: typing.Union[bool, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
cluster_ids |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property clusterIds: The IDs list of Prometheus Instances. |
template_ids |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property templateIds: The IDs list of Prometheus alert rule templates. |
update |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property update: Whether to update created alert rules. |
cluster_ids
Optional
cluster_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property clusterIds: The IDs list of Prometheus Instances.
template_ids
Optional
template_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property templateIds: The IDs list of Prometheus alert rule templates.
update
Optional
update: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property update: Whether to update created alert rules.
Default false.