MigrationJob2Props
Properties for defining a MigrationJob2
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dts-migrationjob2
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdts"
&alicloudroscdkdts.MigrationJob2Props {
DataInitialization: interface{},
DataSynchronization: interface{},
DbList: interface{},
DestinationEndpoint: interface{},
DtsJobName: interface{},
SourceEndpoint: interface{},
StructureInitialization: interface{},
Checkpoint: interface{},
DataCheckConfigure: interface{},
DedicatedClusterId: interface{},
DelayNotice: interface{},
DelayPhone: interface{},
DelayRuleTime: interface{},
DisasterRecoveryJob: interface{},
DtsBisLabel: interface{},
DtsInstanceId: interface{},
DtsJobId: interface{},
ErrorNotice: interface{},
ErrorPhone: interface{},
FileOssUrl: interface{},
Reserve: interface{},
Status: interface{},
}
Properties
Name | Type | Description |
---|---|---|
DataInitialization |
interface{} |
Property dataInitialization: Specifies whether to perform full data migration or full data synchronization. |
DataSynchronization |
interface{} |
Property dataSynchronization: Specifies whether to perform incremental data migration or incremental data synchronization. |
DbList |
interface{} |
Property dbList: The objects that you want to migrate or synchronize. |
DestinationEndpoint |
interface{} |
Property destinationEndpoint: Destination instance configuration. |
DtsJobName |
interface{} |
Property dtsJobName: The name of the DTS instance. |
SourceEndpoint |
interface{} |
Property sourceEndpoint: Source instance configuration. |
StructureInitialization |
interface{} |
Property structureInitialization: Specifies whether to perform schema migration or schema synchronization. |
Checkpoint |
interface{} |
Property checkpoint: The start offset of incremental data migration or synchronization. |
DataCheckConfigure |
interface{} |
Property dataCheckConfigure: The data verification task for a data migration or synchronization instance. |
DedicatedClusterId |
interface{} |
Property dedicatedClusterId: The ID of the DTS dedicated cluster on which the task runs. |
DelayNotice |
interface{} |
Property delayNotice: Specifies whether to monitor the task latency. |
DelayPhone |
interface{} |
Property delayPhone: The mobile numbers that receive latency-related alerts. |
DelayRuleTime |
interface{} |
Property delayRuleTime: The threshold for latency alerts. |
DisasterRecoveryJob |
interface{} |
Property disasterRecoveryJob: Specifies whether the instance is a disaster recovery instance. |
DtsBisLabel |
interface{} |
Property dtsBisLabel: The environment tag of the DTS instance. |
DtsInstanceId |
interface{} |
Property dtsInstanceId: The ID of the DTS instance. |
DtsJobId |
interface{} |
Property dtsJobId: The ID of the DTS task. |
ErrorNotice |
interface{} |
Property errorNotice: Specifies whether to monitor the task status. |
ErrorPhone |
interface{} |
Property errorPhone: The mobile numbers that receive status-related alerts. |
FileOssUrl |
interface{} |
Property fileOssUrl: The URL of the Object Storage Service (OSS) bucket that stores the files related to the DTS task. |
Reserve |
interface{} |
Property reserve: The reserved parameter of DTS. |
Status |
interface{} |
Property status: The status of the resource. |
DataInitialization
Required
DataInitialization interface{}
- Type: interface{}
Property dataInitialization: Specifies whether to perform full data migration or full data synchronization.
Default value: true. Valid values: true and false.
DataSynchronization
Required
DataSynchronization interface{}
- Type: interface{}
Property dataSynchronization: Specifies whether to perform incremental data migration or incremental data synchronization.
Default value: false. Valid values: true and false.
DbList
Required
DbList interface{}
- Type: interface{}
Property dbList: The objects that you want to migrate or synchronize.
DestinationEndpoint
Required
DestinationEndpoint interface{}
- Type: interface{}
Property destinationEndpoint: Destination instance configuration.
DtsJobName
Required
DtsJobName interface{}
- Type: interface{}
Property dtsJobName: The name of the DTS instance.
SourceEndpoint
Required
SourceEndpoint interface{}
- Type: interface{}
Property sourceEndpoint: Source instance configuration.
StructureInitialization
Required
StructureInitialization interface{}
- Type: interface{}
Property structureInitialization: Specifies whether to perform schema migration or schema synchronization.
Default value: true. Valid values: true and false.
Checkpoint
Optional
Checkpoint interface{}
- Type: interface{}
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
DataCheckConfigure interface{}
- Type: interface{}
Property dataCheckConfigure: The data verification task for a data migration or synchronization instance.
DedicatedClusterId
Optional
DedicatedClusterId interface{}
- Type: interface{}
Property dedicatedClusterId: The ID of the DTS dedicated cluster on which the task runs.
DelayNotice
Optional
DelayNotice interface{}
- Type: interface{}
Property delayNotice: Specifies whether to monitor the task latency.
Valid values: true and false
DelayPhone
Optional
DelayPhone interface{}
- Type: interface{}
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
DelayRuleTime interface{}
- Type: interface{}
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
DisasterRecoveryJob interface{}
- Type: interface{}
Property disasterRecoveryJob: Specifies whether the instance is a disaster recovery instance.
Valid values: true and false
DtsBisLabel
Optional
DtsBisLabel interface{}
- Type: interface{}
Property dtsBisLabel: The environment tag of the DTS instance.
Valid values: normal and online.
DtsInstanceId
Optional
DtsInstanceId interface{}
- Type: interface{}
Property dtsInstanceId: The ID of the DTS instance.
DtsJobId
Optional
DtsJobId interface{}
- Type: interface{}
Property dtsJobId: The ID of the DTS task.
ErrorNotice
Optional
ErrorNotice interface{}
- Type: interface{}
Property errorNotice: Specifies whether to monitor the task status.
Valid values: true and false.
ErrorPhone
Optional
ErrorPhone interface{}
- Type: interface{}
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
FileOssUrl interface{}
- Type: interface{}
Property fileOssUrl: The URL of the Object Storage Service (OSS) bucket that stores the files related to the DTS task.
Reserve
Optional
Reserve interface{}
- Type: interface{}
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
Status interface{}
- Type: interface{}
Property status: The status of the resource.
Valid values:
- Migrating: Start the task.
- Suspending: Suspend the task.
- Stopping: Stop the task.