RosResourceMetricRuleProps
Properties for defining a RosResourceMetricRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-resourcemetricrule
Initializer
import ros_cdk_cms
ros_cdk_cms.RosResourceMetricRuleProps(
contact_groups: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
escalations: typing.Union[IResolvable, EscalationsProperty],
metric_name: typing.Union[str, IResolvable],
namespace: typing.Union[str, IResolvable],
resources: typing.Union[IResolvable, typing.List[typing.Mapping[typing.Any]]],
composite_expression: typing.Union[IResolvable, CompositeExpressionProperty] = None,
deletion_force: typing.Union[bool, IResolvable] = None,
effective_interval: typing.Union[str, IResolvable] = None,
email_subject: typing.Union[str, IResolvable] = None,
interval: typing.Union[typing.Union[int, float], IResolvable] = None,
labels: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, LabelsProperty]]] = None,
no_data_policy: typing.Union[str, IResolvable] = None,
no_effective_interval: typing.Union[str, IResolvable] = None,
period: typing.Union[typing.Union[int, float], IResolvable] = None,
prometheus: typing.Union[IResolvable, PrometheusProperty] = None,
rule_id: typing.Union[str, IResolvable] = None,
rule_name: typing.Union[str, IResolvable] = None,
silence_time: typing.Union[typing.Union[int, float], IResolvable] = None,
webhook: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
contact_groups |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
No description. |
escalations |
typing.Union[ros_cdk_core.IResolvable, EscalationsProperty] |
No description. |
metric_name |
typing.Union[str, ros_cdk_core.IResolvable] |
No description. |
namespace |
typing.Union[str, ros_cdk_core.IResolvable] |
No description. |
resources |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Mapping[typing.Any]]] |
No description. |
composite_expression |
typing.Union[ros_cdk_core.IResolvable, CompositeExpressionProperty] |
No description. |
deletion_force |
typing.Union[bool, ros_cdk_core.IResolvable] |
No description. |
effective_interval |
typing.Union[str, ros_cdk_core.IResolvable] |
No description. |
email_subject |
typing.Union[str, ros_cdk_core.IResolvable] |
No description. |
interval |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
No description. |
labels |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, LabelsProperty]]] |
No description. |
no_data_policy |
typing.Union[str, ros_cdk_core.IResolvable] |
No description. |
no_effective_interval |
typing.Union[str, ros_cdk_core.IResolvable] |
No description. |
period |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
No description. |
prometheus |
typing.Union[ros_cdk_core.IResolvable, PrometheusProperty] |
No description. |
rule_id |
typing.Union[str, ros_cdk_core.IResolvable] |
No description. |
rule_name |
typing.Union[str, ros_cdk_core.IResolvable] |
No description. |
silence_time |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
No description. |
webhook |
typing.Union[str, ros_cdk_core.IResolvable] |
No description. |
contact_groups
Required
contact_groups: 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]]]
escalations
Required
escalations: typing.Union[IResolvable, EscalationsProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, EscalationsProperty]
metric_name
Required
metric_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
namespace
Required
namespace: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
resources
Required
resources: typing.Union[IResolvable, typing.List[typing.Mapping[typing.Any]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Mapping[typing.Any]]]
composite_expression
Optional
composite_expression: typing.Union[IResolvable, CompositeExpressionProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, CompositeExpressionProperty]
deletion_force
Optional
deletion_force: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
effective_interval
Optional
effective_interval: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
email_subject
Optional
email_subject: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
interval
Optional
interval: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
labels
Optional
labels: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, LabelsProperty]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, LabelsProperty]]]
no_data_policy
Optional
no_data_policy: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
no_effective_interval
Optional
no_effective_interval: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
period
Optional
period: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
prometheus
Optional
prometheus: typing.Union[IResolvable, PrometheusProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, PrometheusProperty]
rule_id
Optional
rule_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
rule_name
Optional
rule_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
silence_time
Optional
silence_time: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
webhook
Optional
webhook: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]