JobMonitorRuleProps
Properties for defining a JobMonitorRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dts-jobmonitorrule
Initializer
import { JobMonitorRuleProps } from '@alicloud/ros-cdk-dts'
const jobMonitorRuleProps: JobMonitorRuleProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
dtsJobId | string | @alicloud/ros-cdk-core.IResolvable | Property dtsJobId: Migration, synchronization or subscription task ID can be by calling the DescribeDtsJobs get. |
type | string | @alicloud/ros-cdk-core.IResolvable | Property type: Monitoring rules of type, the return value: - delay: delay alarm. |
delayRuleTime | number | @alicloud/ros-cdk-core.IResolvable | Property delayRuleTime: Trigger delay alarm threshold, which is measured in seconds. |
period | number | @alicloud/ros-cdk-core.IResolvable | Property period: The statistical period of the incremental verification task. |
phones | any[] | @alicloud/ros-cdk-core.IResolvable | Property phones: The alarm is triggered after notification of the contact phone number. |
state | string | @alicloud/ros-cdk-core.IResolvable | Property state: Whether to enable monitoring rules, return value: - Y: enable. |
times | number | @alicloud/ros-cdk-core.IResolvable | Property times: The number of cycles of the incremental verification task. |
dtsJobIdRequired
public readonly dtsJobId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dtsJobId: Migration, synchronization or subscription task ID can be by calling the DescribeDtsJobs get.
typeRequired
public readonly type: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property type: Monitoring rules of type, the return value: - delay: delay alarm.
error: abnormal alarm.
delayRuleTimeOptional
public readonly delayRuleTime: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property delayRuleTime: Trigger delay alarm threshold, which is measured in seconds.
periodOptional
public readonly period: number | IResolvable;
- Type: number | @alicloud/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
public readonly phones: any[] | IResolvable;
- Type: any[] | @alicloud/ros-cdk-core.IResolvable
Property phones: The alarm is triggered after notification of the contact phone number.
stateOptional
public readonly state: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property state: Whether to enable monitoring rules, return value: - Y: enable.
N: Inactive.
timesOptional
public readonly times: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property times: The number of cycles of the incremental verification task.