Skip to content

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.

DataInitializationRequired

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.


DataSynchronizationRequired

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.


DbListRequired

DbList interface{}
  • Type: interface{}

Property dbList: The objects that you want to migrate or synchronize.


DestinationEndpointRequired

DestinationEndpoint interface{}
  • Type: interface{}

Property destinationEndpoint: Destination instance configuration.


DtsJobNameRequired

DtsJobName interface{}
  • Type: interface{}

Property dtsJobName: The name of the DTS instance.


SourceEndpointRequired

SourceEndpoint interface{}
  • Type: interface{}

Property sourceEndpoint: Source instance configuration.


StructureInitializationRequired

StructureInitialization interface{}
  • Type: interface{}

Property structureInitialization: Specifies whether to perform schema migration or schema synchronization.

Default value: true. Valid values: true and false.


CheckpointOptional

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.


DataCheckConfigureOptional

DataCheckConfigure interface{}
  • Type: interface{}

Property dataCheckConfigure: The data verification task for a data migration or synchronization instance.


DedicatedClusterIdOptional

DedicatedClusterId interface{}
  • Type: interface{}

Property dedicatedClusterId: The ID of the DTS dedicated cluster on which the task runs.


DelayNoticeOptional

DelayNotice interface{}
  • Type: interface{}

Property delayNotice: Specifies whether to monitor the task latency.

Valid values: true and false


DelayPhoneOptional

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.


DelayRuleTimeOptional

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.


DisasterRecoveryJobOptional

DisasterRecoveryJob interface{}
  • Type: interface{}

Property disasterRecoveryJob: Specifies whether the instance is a disaster recovery instance.

Valid values: true and false


DtsBisLabelOptional

DtsBisLabel interface{}
  • Type: interface{}

Property dtsBisLabel: The environment tag of the DTS instance.

Valid values: normal and online.


DtsInstanceIdOptional

DtsInstanceId interface{}
  • Type: interface{}

Property dtsInstanceId: The ID of the DTS instance.


DtsJobIdOptional

DtsJobId interface{}
  • Type: interface{}

Property dtsJobId: The ID of the DTS task.


ErrorNoticeOptional

ErrorNotice interface{}
  • Type: interface{}

Property errorNotice: Specifies whether to monitor the task status.

Valid values: true and false.


ErrorPhoneOptional

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.


FileOssUrlOptional

FileOssUrl interface{}
  • Type: interface{}

Property fileOssUrl: The URL of the Object Storage Service (OSS) bucket that stores the files related to the DTS task.


ReserveOptional

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.


StatusOptional

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.