Skip to content

SubscriptionJob2Props

Properties for defining a SubscriptionJob2.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Dts;
new SubscriptionJob2Props {
    object DbList,
    object DtsJobName,
    object SourceEndpoint,
    object SubscriptionInstance,
    object Checkpoint = null,
    object DedicatedClusterId = null,
    object DelayNotice = null,
    object DelayPhone = null,
    object DelayRuleTime = null,
    object DestPrimaryVswId = null,
    object DestSecondaryVswId = null,
    object DtsBisLabel = null,
    object DtsInstanceId = null,
    object DtsJobId = null,
    object ErrorNotice = null,
    object ErrorPhone = null,
    object MaxDu = null,
    object MinDu = null,
    object Reserve = null,
    object ResourceGroupId = null,
    object SrcPrimaryVswId = null,
    object SrcSecondaryVswId = null,
    object Status = null,
    object SubscriptionDataType = null
};

Properties

Name Type Description
DbList object Property dbList: The objects for which you want to track data changes.
DtsJobName object Property dtsJobName: The name of the DTS instance.
SourceEndpoint object Property sourceEndpoint: Source instance configuration.
SubscriptionInstance object Property subscriptionInstance: Subscription instance configuration.
Checkpoint object Property checkpoint: The start offset of incremental data migration or synchronization.
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.
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.
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.
SubscriptionDataType object Property subscriptionDataType: Subscription data type.

DbListRequired

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

Property dbList: The objects for which you want to track data changes.


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.


SubscriptionInstanceRequired

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

Property subscriptionInstance: Subscription instance configuration.


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.


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.


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.


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:

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

SubscriptionDataTypeOptional

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

Property subscriptionDataType: Subscription data type.