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 DestPrimaryVswId = null,
    object DestSecondaryVswId = null,
    object DisasterRecoveryJob = null,
    object DtsBisLabel = null,
    object DtsInstanceId = null,
    object DtsJobId = null,
    object ErrorNotice = null,
    object ErrorPhone = null,
    object FileOssUrl = null,
    object MaxDu = null,
    object MinDu = null,
    object Reserve = null,
    object ResourceGroupId = null,
    object SrcPrimaryVswId = null,
    object SrcSecondaryVswId = 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.
DestPrimaryVswId object Property destPrimaryVswId: The primary VSW ID at the destination end of the VPC NAT.
DestSecondaryVswId object Property destSecondaryVswId: The secondary VSW ID at the destination end of the VPC NAT.
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.
MaxDu object Property maxDu: The DU upper limit of the Serverless instance, with values being: 2, 4, 8, 16.
MinDu object Property minDu: The lower limit of DU for Serverless instances, with values being: 1, 2, 4, 8, 16.
Reserve object Property reserve: The reserved parameter of DTS.
ResourceGroupId object Property resourceGroupId: The ID of the resource group.
SrcPrimaryVswId object Property srcPrimaryVswId: The primary VSW ID at the source end of the VPC NAT.
SrcSecondaryVswId object Property srcSecondaryVswId: The secondary VSW ID at the source end of the VPC NAT.
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.

Valid values:

  • true (default)
  • false

If JobType is set to CHECK, set this parameter to false.


DataSynchronizationRequired

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

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

Valid values:

  • false (default)
  • true

If JobType is set to CHECK, set this parameter to false.


DbListRequired

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

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

The value is a JSON string.


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.

Valid values:

  • true (default)
  • false

If JobType is set to CHECK, set this parameter to 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 (,). You can specify up to 10 mobile numbers. Note: You can also configure alert rules for DTS tasks in the CloudMonitor console.This parameter is available only for users of the China site (aliyun.com). Only mobile numbers in the Chinese mainland are supported. Users of the international site (alibabacloud.com) cannot receive alerts by using mobile numbers.


DelayRuleTimeOptional

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

Property delayRuleTime: The threshold for latency alerts.

Unit: seconds. The value must be an integer. You can set the threshold based on your business requirements. To prevent unstable latency caused by network and database overloads, we recommend that you set the threshold to more than 10 seconds.

If DelayNotice is set to true, this parameter is required.


DestPrimaryVswIdOptional

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

Property destPrimaryVswId: The primary VSW ID at the destination end of the VPC NAT.


DestSecondaryVswIdOptional

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

Property destSecondaryVswId: The secondary VSW ID at the destination end of the VPC NAT.


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 (,). You can specify up to 10 mobile numbers. Note: You can also configure alert rules for DTS tasks in the CloudMonitor console.This parameter is available only for users of the China site (aliyun.com). Only mobile numbers in the Chinese mainland are supported. Users of the international site (alibabacloud.com) cannot receive alerts by using mobile numbers.


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.


MaxDuOptional

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

Property maxDu: The DU upper limit of the Serverless instance, with values being: 2, 4, 8, 16.

Currently, this feature is not supported, please do not pass in parameters.


MinDuOptional

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

Property minDu: The lower limit of DU for Serverless instances, with values being: 1, 2, 4, 8, 16.

This feature is currently not supported, please do not pass in parameters.


ReserveOptional

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

Property reserve: The reserved parameter of DTS.

The value is a JSON string. 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 CEN instance ID.


ResourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group.


SrcPrimaryVswIdOptional

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

Property srcPrimaryVswId: The primary VSW ID at the source end of the VPC NAT.


SrcSecondaryVswIdOptional

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

Property srcSecondaryVswId: The secondary VSW ID at the source end of the VPC NAT.


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.