Skip to content

MigrationJob2Props

Properties for defining a MigrationJob2.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dts-migrationjob2

Initializer

using AlibabaCloud.SDK.ROS.CDK.Dts;
new MigrationJob2Props {
    object DataInitialization,
    object DataSynchronization,
    object DbList,
    object DestinationEndpoint,
    object DtsJobName,
    object SourceEndpoint,
    object StructureInitialization,
    object Checkpoint = null,
    object DataCheckConfigure = null,
    object DedicatedClusterId = null,
    object DelayNotice = null,
    object DelayPhone = null,
    object DelayRuleTime = null,
    object DisasterRecoveryJob = null,
    object DtsBisLabel = null,
    object DtsInstanceId = null,
    object DtsJobId = null,
    object ErrorNotice = null,
    object ErrorPhone = null,
    object FileOssUrl = null,
    object Reserve = null,
    object Status = null
};

Properties

Name Type Description
DataInitialization object Property dataInitialization: Specifies whether to perform full data migration or full data synchronization.
DataSynchronization object Property dataSynchronization: Specifies whether to perform incremental data migration or incremental data synchronization.
DbList object Property dbList: The objects that you want to migrate or synchronize.
DestinationEndpoint object Property destinationEndpoint: Destination instance configuration.
DtsJobName object Property dtsJobName: The name of the DTS instance.
SourceEndpoint object Property sourceEndpoint: Source instance configuration.
StructureInitialization object Property structureInitialization: Specifies whether to perform schema migration or schema synchronization.
Checkpoint object Property checkpoint: The start offset of incremental data migration or synchronization.
DataCheckConfigure object Property dataCheckConfigure: The data verification task for a data migration or synchronization instance.
DedicatedClusterId object Property dedicatedClusterId: The ID of the DTS dedicated cluster on which the task runs.
DelayNotice object Property delayNotice: Specifies whether to monitor the task latency.
DelayPhone object Property delayPhone: The mobile numbers that receive latency-related alerts.
DelayRuleTime object Property delayRuleTime: The threshold for latency alerts.
DisasterRecoveryJob object Property disasterRecoveryJob: Specifies whether the instance is a disaster recovery instance.
DtsBisLabel object Property dtsBisLabel: The environment tag of the DTS instance.
DtsInstanceId object Property dtsInstanceId: The ID of the DTS instance.
DtsJobId object Property dtsJobId: The ID of the DTS task.
ErrorNotice object Property errorNotice: Specifies whether to monitor the task status.
ErrorPhone object Property errorPhone: The mobile numbers that receive status-related alerts.
FileOssUrl object Property fileOssUrl: The URL of the Object Storage Service (OSS) bucket that stores the files related to the DTS task.
Reserve object Property reserve: The reserved parameter of DTS.
Status object Property status: The status of the resource.

DataInitializationRequired

public object DataInitialization { get; set; }
  • Type: object

Property dataInitialization: Specifies whether to perform full data migration or full data synchronization.

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


DataSynchronizationRequired

public object DataSynchronization { get; set; }
  • Type: object

Property dataSynchronization: Specifies whether to perform incremental data migration or incremental data synchronization.

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


DbListRequired

public object DbList { get; set; }
  • Type: object

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


DestinationEndpointRequired

public object DestinationEndpoint { get; set; }
  • Type: object

Property destinationEndpoint: Destination instance configuration.


DtsJobNameRequired

public object DtsJobName { get; set; }
  • Type: object

Property dtsJobName: The name of the DTS instance.


SourceEndpointRequired

public object SourceEndpoint { get; set; }
  • Type: object

Property sourceEndpoint: Source instance configuration.


StructureInitializationRequired

public object StructureInitialization { get; set; }
  • Type: object

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

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


CheckpointOptional

public object Checkpoint { get; set; }
  • Type: object

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

public object DataCheckConfigure { get; set; }
  • Type: object

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


DedicatedClusterIdOptional

public object DedicatedClusterId { get; set; }
  • Type: object

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


DelayNoticeOptional

public object DelayNotice { get; set; }
  • Type: object

Property delayNotice: Specifies whether to monitor the task latency.

Valid values: true and false


DelayPhoneOptional

public object DelayPhone { get; set; }
  • Type: object

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

public object DelayRuleTime { get; set; }
  • Type: object

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

public object DisasterRecoveryJob { get; set; }
  • Type: object

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

Valid values: true and false


DtsBisLabelOptional

public object DtsBisLabel { get; set; }
  • Type: object

Property dtsBisLabel: The environment tag of the DTS instance.

Valid values: normal and online.


DtsInstanceIdOptional

public object DtsInstanceId { get; set; }
  • Type: object

Property dtsInstanceId: The ID of the DTS instance.


DtsJobIdOptional

public object DtsJobId { get; set; }
  • Type: object

Property dtsJobId: The ID of the DTS task.


ErrorNoticeOptional

public object ErrorNotice { get; set; }
  • Type: object

Property errorNotice: Specifies whether to monitor the task status.

Valid values: true and false.


ErrorPhoneOptional

public object ErrorPhone { get; set; }
  • Type: object

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

public object FileOssUrl { get; set; }
  • Type: object

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


ReserveOptional

public object Reserve { get; set; }
  • Type: object

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

public object Status { get; set; }
  • Type: object

Property status: The status of the resource.

Valid values:

  • Migrating: Start the task.
  • Suspending: Suspend the task.
  • Stopping: Stop the task.