Skip to content

SubscriptionJob2Props

Properties for defining a SubscriptionJob2.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdts"
&alicloudroscdkdts.SubscriptionJob2Props {
    DbList: interface{},
    DtsJobName: interface{},
    SourceEndpoint: interface{},
    SubscriptionInstance: interface{},
    Checkpoint: interface{},
    DedicatedClusterId: interface{},
    DelayNotice: interface{},
    DelayPhone: interface{},
    DelayRuleTime: interface{},
    DtsBisLabel: interface{},
    DtsInstanceId: interface{},
    DtsJobId: interface{},
    ErrorNotice: interface{},
    ErrorPhone: interface{},
    Reserve: interface{},
    Status: interface{},
    SubscriptionDataType: interface{},
}

Properties

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

DbListRequired

DbList interface{}
  • Type: interface{}

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


DtsJobNameRequired

DtsJobName interface{}
  • Type: interface{}

Property dtsJobName: The name of the DTS instance.


SourceEndpointRequired

SourceEndpoint interface{}
  • Type: interface{}

Property sourceEndpoint: Source instance configuration.


SubscriptionInstanceRequired

SubscriptionInstance interface{}
  • Type: interface{}

Property subscriptionInstance: Subscription instance configuration.


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.


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.


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.


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:

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

SubscriptionDataTypeOptional

SubscriptionDataType interface{}
  • Type: interface{}

Property subscriptionDataType: Subscription data type.