JobMonitorRuleProps
Properties for defining a JobMonitorRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dts-jobmonitorrule
Initializer
import ros_cdk_dts
ros_cdk_dts.JobMonitorRuleProps(
dts_job_id: typing.Union[str, IResolvable],
type: typing.Union[str, IResolvable],
delay_rule_time: typing.Union[typing.Union[int, float], IResolvable] = None,
period: typing.Union[typing.Union[int, float], IResolvable] = None,
phones: typing.Union[typing.List[typing.Any], IResolvable] = None,
state: typing.Union[str, IResolvable] = None,
times: typing.Union[typing.Union[int, float], IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
dts_job_id | typing.Union[str, ros_cdk_core.IResolvable] | Property dtsJobId: Migration, synchronization or subscription task ID can be by calling the DescribeDtsJobs get. |
type | typing.Union[str, ros_cdk_core.IResolvable] | Property type: Monitoring rules of type, the return value: - delay: delay alarm. |
delay_rule_time | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property delayRuleTime: Trigger delay alarm threshold, which is measured in seconds. |
period | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property period: The statistical period of the incremental verification task. |
phones | typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] | Property phones: The alarm is triggered after notification of the contact phone number. |
state | typing.Union[str, ros_cdk_core.IResolvable] | Property state: Whether to enable monitoring rules, return value: - Y: enable. |
times | typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] | Property times: The number of cycles of the incremental verification task. |
dts_job_idRequired
dts_job_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dtsJobId: Migration, synchronization or subscription task ID can be by calling the DescribeDtsJobs get.
typeRequired
type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property type: Monitoring rules of type, the return value: - delay: delay alarm.
- error: abnormal alarm.
delay_rule_timeOptional
delay_rule_time: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property delayRuleTime: Trigger delay alarm threshold, which is measured in seconds.
periodOptional
period: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property period: The statistical period of the incremental verification task.
Unit: minutes.
currently supported values are 1 minute, 3 minutes, 5 minutes and 30 minutes.
phonesOptional
phones: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
Property phones: The alarm is triggered after notification of the contact phone number.
stateOptional
state: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property state: Whether to enable monitoring rules, return value: - Y: enable.
- N: Inactive.
timesOptional
times: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property times: The number of cycles of the incremental verification task.