JobMonitorRuleProps
Properties for defining a JobMonitorRule.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dts-jobmonitorrule
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdts"
&alicloudroscdkdts.JobMonitorRuleProps {
DtsJobId: interface{},
Type: interface{},
DelayRuleTime: interface{},
Period: interface{},
Phones: interface{},
State: interface{},
Times: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DtsJobId | interface{} | Property dtsJobId: Migration, synchronization or subscription task ID can be by calling the DescribeDtsJobs get. |
Type | interface{} | Property type: Monitoring rules of type, the return value: - delay: delay alarm. |
DelayRuleTime | interface{} | Property delayRuleTime: Trigger delay alarm threshold, which is measured in seconds. |
Period | interface{} | Property period: The statistical period of the incremental verification task. |
Phones | interface{} | Property phones: The alarm is triggered after notification of the contact phone number. |
State | interface{} | Property state: Whether to enable monitoring rules, return value: - Y: enable. |
Times | interface{} | Property times: The number of cycles of the incremental verification task. |
DtsJobIdRequired
DtsJobId interface{}
- Type: interface{}
Property dtsJobId: Migration, synchronization or subscription task ID can be by calling the DescribeDtsJobs get.
TypeRequired
Type interface{}
- Type: interface{}
Property type: Monitoring rules of type, the return value: - delay: delay alarm.
- error: abnormal alarm.
DelayRuleTimeOptional
DelayRuleTime interface{}
- Type: interface{}
Property delayRuleTime: Trigger delay alarm threshold, which is measured in seconds.
PeriodOptional
Period interface{}
- Type: interface{}
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 interface{}
- Type: interface{}
Property phones: The alarm is triggered after notification of the contact phone number.
StateOptional
State interface{}
- Type: interface{}
Property state: Whether to enable monitoring rules, return value: - Y: enable.
- N: Inactive.
TimesOptional
Times interface{}
- Type: interface{}
Property times: The number of cycles of the incremental verification task.