SynchronizationJob2Props
Properties for defining a SynchronizationJob2
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dts-synchronizationjob2
Initializer
import { SynchronizationJob2Props } from '@alicloud/ros-cdk-dts'
const synchronizationJob2Props: SynchronizationJob2Props = { ... }
Properties
Name | Type | Description |
---|---|---|
dataInitialization |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property dataInitialization: Specifies whether to perform full data migration or full data synchronization. |
dataSynchronization |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property dataSynchronization: Specifies whether to perform incremental data migration or incremental data synchronization. |
dbList |
@alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} |
Property dbList: The objects that you want to migrate or synchronize. |
destinationEndpoint |
@alicloud/ros-cdk-core.IResolvable | DestinationEndpointProperty |
Property destinationEndpoint: Destination instance configuration. |
dtsJobName |
string | @alicloud/ros-cdk-core.IResolvable |
Property dtsJobName: The name of the DTS instance. |
sourceEndpoint |
@alicloud/ros-cdk-core.IResolvable | SourceEndpointProperty |
Property sourceEndpoint: Source instance configuration. |
structureInitialization |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property structureInitialization: Specifies whether to perform schema migration or schema synchronization. |
checkpoint |
string | @alicloud/ros-cdk-core.IResolvable |
Property checkpoint: The start offset of incremental data migration or synchronization. |
dataCheckConfigure |
@alicloud/ros-cdk-core.IResolvable | DataCheckConfigureProperty |
Property dataCheckConfigure: The data verification task for a data migration or synchronization instance. |
dedicatedClusterId |
string | @alicloud/ros-cdk-core.IResolvable |
Property dedicatedClusterId: The ID of the DTS dedicated cluster on which the task runs. |
delayNotice |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property delayNotice: Specifies whether to monitor the task latency. |
delayPhone |
string | @alicloud/ros-cdk-core.IResolvable |
Property delayPhone: The mobile numbers that receive latency-related alerts. |
delayRuleTime |
number | @alicloud/ros-cdk-core.IResolvable |
Property delayRuleTime: The threshold for latency alerts. |
disasterRecoveryJob |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property disasterRecoveryJob: Specifies whether the instance is a disaster recovery instance. |
dtsBisLabel |
string | @alicloud/ros-cdk-core.IResolvable |
Property dtsBisLabel: The environment tag of the DTS instance. |
dtsInstanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property dtsInstanceId: The ID of the DTS instance. |
dtsJobId |
string | @alicloud/ros-cdk-core.IResolvable |
Property dtsJobId: The ID of the DTS task. |
errorNotice |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property errorNotice: Specifies whether to monitor the task status. |
errorPhone |
string | @alicloud/ros-cdk-core.IResolvable |
Property errorPhone: The mobile numbers that receive status-related alerts. |
fileOssUrl |
string | @alicloud/ros-cdk-core.IResolvable |
Property fileOssUrl: The URL of the Object Storage Service (OSS) bucket that stores the files related to the DTS task. |
reserve |
@alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} |
Property reserve: The reserved parameter of DTS. |
status |
string | @alicloud/ros-cdk-core.IResolvable |
Property status: The status of the resource. |
synchronizationDirection |
string | @alicloud/ros-cdk-core.IResolvable |
Property synchronizationDirection: The synchronization direction. |
dataInitialization
Required
public readonly dataInitialization: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property dataInitialization: Specifies whether to perform full data migration or full data synchronization.
Default value: true. Valid values: true and false.
dataSynchronization
Required
public readonly dataSynchronization: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property dataSynchronization: Specifies whether to perform incremental data migration or incremental data synchronization.
Default value: false. Valid values: true and false.
dbList
Required
public readonly dbList: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property dbList: The objects that you want to migrate or synchronize.
destinationEndpoint
Required
public readonly destinationEndpoint: IResolvable | DestinationEndpointProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | DestinationEndpointProperty
Property destinationEndpoint: Destination instance configuration.
dtsJobName
Required
public readonly dtsJobName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dtsJobName: The name of the DTS instance.
sourceEndpoint
Required
public readonly sourceEndpoint: IResolvable | SourceEndpointProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | SourceEndpointProperty
Property sourceEndpoint: Source instance configuration.
structureInitialization
Required
public readonly structureInitialization: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property structureInitialization: Specifies whether to perform schema migration or schema synchronization.
Default value: true. Valid values: true and false.
checkpoint
Optional
public readonly checkpoint: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property checkpoint: The start offset of incremental data migration or synchronization.
This value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.
dataCheckConfigure
Optional
public readonly dataCheckConfigure: IResolvable | DataCheckConfigureProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | DataCheckConfigureProperty
Property dataCheckConfigure: The data verification task for a data migration or synchronization instance.
dedicatedClusterId
Optional
public readonly dedicatedClusterId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dedicatedClusterId: The ID of the DTS dedicated cluster on which the task runs.
delayNotice
Optional
public readonly delayNotice: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property delayNotice: Specifies whether to monitor the task latency.
Valid values: true and false
delayPhone
Optional
public readonly delayPhone: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property delayPhone: The mobile numbers that receive latency-related alerts.
Separate multiple mobile numbers with commas (,). Note: This parameter is available only for users of the China site (aliyun.com). Only mobile numbers in the Chinese mainland are supported. You can specify up to 10 mobile numbers. Users of the international site (alibabacloud.com) cannot receive alerts by using mobile numbers, but can configure alert rules for DTS tasks in the CloudMonitor console.
delayRuleTime
Optional
public readonly delayRuleTime: number | IResolvable;
- Type: number | @alicloud/ros-cdk-core.IResolvable
Property delayRuleTime: The threshold for latency alerts.
Unit: seconds. You can set the threshold based on your business requirements. To prevent jitters caused by network and database overloads, we recommend that you set the threshold to more than 10 seconds.
disasterRecoveryJob
Optional
public readonly disasterRecoveryJob: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property disasterRecoveryJob: Specifies whether the instance is a disaster recovery instance.
Valid values: true and false
dtsBisLabel
Optional
public readonly dtsBisLabel: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dtsBisLabel: The environment tag of the DTS instance.
Valid values: normal and online.
dtsInstanceId
Optional
public readonly dtsInstanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dtsInstanceId: The ID of the DTS instance.
dtsJobId
Optional
public readonly dtsJobId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dtsJobId: The ID of the DTS task.
errorNotice
Optional
public readonly errorNotice: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property errorNotice: Specifies whether to monitor the task status.
Valid values: true and false.
errorPhone
Optional
public readonly errorPhone: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property errorPhone: The mobile numbers that receive status-related alerts.
Separate multiple mobile numbers with commas (,). Note: This parameter is available only for users of the China site (aliyun.com). Only mobile numbers in the Chinese mainland are supported. You can specify up to 10 mobile numbers. Users of the international site (alibabacloud.com) cannot receive alerts by using mobile numbers, but can configure alert rules for DTS tasks in the CloudMonitor console.
fileOssUrl
Optional
public readonly fileOssUrl: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property fileOssUrl: The URL of the Object Storage Service (OSS) bucket that stores the files related to the DTS task.
reserve
Optional
public readonly reserve: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property reserve: The reserved parameter of DTS.
You can specify this parameter to add more configurations of the source or destination instance to the DTS task. For example, you can specify the data storage format of the destination Kafka database and the ID of the CEN instance.
status
Optional
public readonly status: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property status: The status of the resource.
Valid values: - Synchronizing: Start the task. - Suspending: Suspend the task. - Stopping: Stop the task.
synchronizationDirection
Optional
public readonly synchronizationDirection: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property synchronizationDirection: The synchronization direction.
Default value: Forward. Valid values: - Forward: Data is synchronized from the source database to the destination database. - Reverse: Data is synchronized from the destination database to the source database. Note: The default value is Forward. The value Reverse takes effect only if the topology of the data synchronization task is two-way synchronization.