1. Registry
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. DtsSyncJob
Viewing docs for tencentcloud 1.83.38
published on Friday, Oct 23, 2026 by tencentcloudstack
tencentcloud
Viewing docs for tencentcloud 1.83.38
published on Friday, Oct 23, 2026 by tencentcloudstack

    Provides a resource to create a DTS sync job

    NOTE: Import function does not support field existed_job_id.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.DtsSyncJob("example", {
        payMode: "PostPay",
        srcDatabaseType: "mysql",
        srcRegion: "ap-guangzhou",
        dstDatabaseType: "cynosdbmysql",
        dstRegion: "ap-guangzhou",
        autoRenew: 0,
        instanceClass: "micro",
        tags: [{
            tagKey: "createBy",
            tagValue: "Terraform",
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.DtsSyncJob("example",
        pay_mode="PostPay",
        src_database_type="mysql",
        src_region="ap-guangzhou",
        dst_database_type="cynosdbmysql",
        dst_region="ap-guangzhou",
        auto_renew=0,
        instance_class="micro",
        tags=[{
            "tag_key": "createBy",
            "tag_value": "Terraform",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewDtsSyncJob(ctx, "example", &tencentcloud.DtsSyncJobArgs{
    			PayMode:         pulumi.String("PostPay"),
    			SrcDatabaseType: pulumi.String("mysql"),
    			SrcRegion:       pulumi.String("ap-guangzhou"),
    			DstDatabaseType: pulumi.String("cynosdbmysql"),
    			DstRegion:       pulumi.String("ap-guangzhou"),
    			AutoRenew:       pulumi.Float64(0),
    			InstanceClass:   pulumi.String("micro"),
    			Tags: tencentcloud.DtsSyncJobTagArray{
    				&tencentcloud.DtsSyncJobTagArgs{
    					TagKey:   pulumi.String("createBy"),
    					TagValue: pulumi.String("Terraform"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.DtsSyncJob("example", new()
        {
            PayMode = "PostPay",
            SrcDatabaseType = "mysql",
            SrcRegion = "ap-guangzhou",
            DstDatabaseType = "cynosdbmysql",
            DstRegion = "ap-guangzhou",
            AutoRenew = 0,
            InstanceClass = "micro",
            Tags = new[]
            {
                new Tencentcloud.Inputs.DtsSyncJobTagArgs
                {
                    TagKey = "createBy",
                    TagValue = "Terraform",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.DtsSyncJob;
    import com.pulumi.tencentcloud.DtsSyncJobArgs;
    import com.pulumi.tencentcloud.inputs.DtsSyncJobTagArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new DtsSyncJob("example", DtsSyncJobArgs.builder()
                .payMode("PostPay")
                .srcDatabaseType("mysql")
                .srcRegion("ap-guangzhou")
                .dstDatabaseType("cynosdbmysql")
                .dstRegion("ap-guangzhou")
                .autoRenew(0.0)
                .instanceClass("micro")
                .tags(DtsSyncJobTagArgs.builder()
                    .tagKey("createBy")
                    .tagValue("Terraform")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:DtsSyncJob
        properties:
          payMode: PostPay
          srcDatabaseType: mysql
          srcRegion: ap-guangzhou
          dstDatabaseType: cynosdbmysql
          dstRegion: ap-guangzhou
          autoRenew: 0
          instanceClass: micro
          tags:
            - tagKey: createBy
              tagValue: Terraform
    
    Example coming soon!
    

    API Reference

    This resource interacts with the following TencentCloud APIs:

    Create DtsSyncJob Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DtsSyncJob(name: string, args: DtsSyncJobArgs, opts?: CustomResourceOptions);
    @overload
    def DtsSyncJob(resource_name: str,
                   args: DtsSyncJobArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def DtsSyncJob(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   dst_database_type: Optional[str] = None,
                   dst_region: Optional[str] = None,
                   pay_mode: Optional[str] = None,
                   src_database_type: Optional[str] = None,
                   src_region: Optional[str] = None,
                   auto_renew: Optional[float] = None,
                   dts_sync_job_id: Optional[str] = None,
                   existed_job_id: Optional[str] = None,
                   instance_class: Optional[str] = None,
                   job_name: Optional[str] = None,
                   specification: Optional[str] = None,
                   tags: Optional[Sequence[DtsSyncJobTagArgs]] = None)
    func NewDtsSyncJob(ctx *Context, name string, args DtsSyncJobArgs, opts ...ResourceOption) (*DtsSyncJob, error)
    public DtsSyncJob(string name, DtsSyncJobArgs args, CustomResourceOptions? opts = null)
    public DtsSyncJob(String name, DtsSyncJobArgs args)
    public DtsSyncJob(String name, DtsSyncJobArgs args, CustomResourceOptions options)
    
    type: tencentcloud:DtsSyncJob
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_dts_sync_job" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DtsSyncJobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DtsSyncJobArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DtsSyncJobArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DtsSyncJobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DtsSyncJobArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    DtsSyncJob Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DtsSyncJob resource accepts the following input properties:

    DstDatabaseType string
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    DstRegion string
    The region where the destination database resides, such as ap-guangzhou.
    PayMode string
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    SrcDatabaseType string
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    SrcRegion string
    The region where the source database resides, such as ap-guangzhou.
    AutoRenew double
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    DtsSyncJobId string
    ID of the resource.
    ExistedJobId string
    The existing sync job ID used to create a similar job.
    InstanceClass string
    Sync link specification, such as micro, small, medium, large. Default is medium.
    JobName string
    Sync job name.
    Specification string
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    Tags List<DtsSyncJobTag>
    Tag information.Cannot be modified.
    DstDatabaseType string
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    DstRegion string
    The region where the destination database resides, such as ap-guangzhou.
    PayMode string
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    SrcDatabaseType string
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    SrcRegion string
    The region where the source database resides, such as ap-guangzhou.
    AutoRenew float64
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    DtsSyncJobId string
    ID of the resource.
    ExistedJobId string
    The existing sync job ID used to create a similar job.
    InstanceClass string
    Sync link specification, such as micro, small, medium, large. Default is medium.
    JobName string
    Sync job name.
    Specification string
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    Tags []DtsSyncJobTagArgs
    Tag information.Cannot be modified.
    dst_database_type string
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    dst_region string
    The region where the destination database resides, such as ap-guangzhou.
    pay_mode string
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    src_database_type string
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    src_region string
    The region where the source database resides, such as ap-guangzhou.
    auto_renew number
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    dts_sync_job_id string
    ID of the resource.
    existed_job_id string
    The existing sync job ID used to create a similar job.
    instance_class string
    Sync link specification, such as micro, small, medium, large. Default is medium.
    job_name string
    Sync job name.
    specification string
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    tags list(object)
    Tag information.Cannot be modified.
    dstDatabaseType String
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    dstRegion String
    The region where the destination database resides, such as ap-guangzhou.
    payMode String
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    srcDatabaseType String
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    srcRegion String
    The region where the source database resides, such as ap-guangzhou.
    autoRenew Double
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    dtsSyncJobId String
    ID of the resource.
    existedJobId String
    The existing sync job ID used to create a similar job.
    instanceClass String
    Sync link specification, such as micro, small, medium, large. Default is medium.
    jobName String
    Sync job name.
    specification String
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    tags List<DtsSyncJobTag>
    Tag information.Cannot be modified.
    dstDatabaseType string
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    dstRegion string
    The region where the destination database resides, such as ap-guangzhou.
    payMode string
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    srcDatabaseType string
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    srcRegion string
    The region where the source database resides, such as ap-guangzhou.
    autoRenew number
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    dtsSyncJobId string
    ID of the resource.
    existedJobId string
    The existing sync job ID used to create a similar job.
    instanceClass string
    Sync link specification, such as micro, small, medium, large. Default is medium.
    jobName string
    Sync job name.
    specification string
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    tags DtsSyncJobTag[]
    Tag information.Cannot be modified.
    dst_database_type str
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    dst_region str
    The region where the destination database resides, such as ap-guangzhou.
    pay_mode str
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    src_database_type str
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    src_region str
    The region where the source database resides, such as ap-guangzhou.
    auto_renew float
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    dts_sync_job_id str
    ID of the resource.
    existed_job_id str
    The existing sync job ID used to create a similar job.
    instance_class str
    Sync link specification, such as micro, small, medium, large. Default is medium.
    job_name str
    Sync job name.
    specification str
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    tags Sequence[DtsSyncJobTagArgs]
    Tag information.Cannot be modified.
    dstDatabaseType String
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    dstRegion String
    The region where the destination database resides, such as ap-guangzhou.
    payMode String
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    srcDatabaseType String
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    srcRegion String
    The region where the source database resides, such as ap-guangzhou.
    autoRenew Number
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    dtsSyncJobId String
    ID of the resource.
    existedJobId String
    The existing sync job ID used to create a similar job.
    instanceClass String
    Sync link specification, such as micro, small, medium, large. Default is medium.
    jobName String
    Sync job name.
    specification String
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    tags List<Property Map>
    Tag information.Cannot be modified.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DtsSyncJob resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    JobId string
    Sync job ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    JobId string
    Sync job ID.
    id string
    The provider-assigned unique ID for this managed resource.
    job_id string
    Sync job ID.
    id String
    The provider-assigned unique ID for this managed resource.
    jobId String
    Sync job ID.
    id string
    The provider-assigned unique ID for this managed resource.
    jobId string
    Sync job ID.
    id str
    The provider-assigned unique ID for this managed resource.
    job_id str
    Sync job ID.
    id String
    The provider-assigned unique ID for this managed resource.
    jobId String
    Sync job ID.

    Look up Existing DtsSyncJob Resource

    Get an existing DtsSyncJob resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DtsSyncJobState, opts?: CustomResourceOptions): DtsSyncJob
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            auto_renew: Optional[float] = None,
            dst_database_type: Optional[str] = None,
            dst_region: Optional[str] = None,
            dts_sync_job_id: Optional[str] = None,
            existed_job_id: Optional[str] = None,
            instance_class: Optional[str] = None,
            job_id: Optional[str] = None,
            job_name: Optional[str] = None,
            pay_mode: Optional[str] = None,
            specification: Optional[str] = None,
            src_database_type: Optional[str] = None,
            src_region: Optional[str] = None,
            tags: Optional[Sequence[DtsSyncJobTagArgs]] = None) -> DtsSyncJob
    func GetDtsSyncJob(ctx *Context, name string, id IDInput, state *DtsSyncJobState, opts ...ResourceOption) (*DtsSyncJob, error)
    public static DtsSyncJob Get(string name, Input<string> id, DtsSyncJobState? state, CustomResourceOptions? opts = null)
    public static DtsSyncJob get(String name, Output<String> id, DtsSyncJobState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:DtsSyncJob    get:      id: ${id}
    import {
      to = tencentcloud_dts_sync_job.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutoRenew double
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    DstDatabaseType string
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    DstRegion string
    The region where the destination database resides, such as ap-guangzhou.
    DtsSyncJobId string
    ID of the resource.
    ExistedJobId string
    The existing sync job ID used to create a similar job.
    InstanceClass string
    Sync link specification, such as micro, small, medium, large. Default is medium.
    JobId string
    Sync job ID.
    JobName string
    Sync job name.
    PayMode string
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    Specification string
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    SrcDatabaseType string
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    SrcRegion string
    The region where the source database resides, such as ap-guangzhou.
    Tags List<DtsSyncJobTag>
    Tag information.Cannot be modified.
    AutoRenew float64
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    DstDatabaseType string
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    DstRegion string
    The region where the destination database resides, such as ap-guangzhou.
    DtsSyncJobId string
    ID of the resource.
    ExistedJobId string
    The existing sync job ID used to create a similar job.
    InstanceClass string
    Sync link specification, such as micro, small, medium, large. Default is medium.
    JobId string
    Sync job ID.
    JobName string
    Sync job name.
    PayMode string
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    Specification string
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    SrcDatabaseType string
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    SrcRegion string
    The region where the source database resides, such as ap-guangzhou.
    Tags []DtsSyncJobTagArgs
    Tag information.Cannot be modified.
    auto_renew number
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    dst_database_type string
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    dst_region string
    The region where the destination database resides, such as ap-guangzhou.
    dts_sync_job_id string
    ID of the resource.
    existed_job_id string
    The existing sync job ID used to create a similar job.
    instance_class string
    Sync link specification, such as micro, small, medium, large. Default is medium.
    job_id string
    Sync job ID.
    job_name string
    Sync job name.
    pay_mode string
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    specification string
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    src_database_type string
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    src_region string
    The region where the source database resides, such as ap-guangzhou.
    tags list(object)
    Tag information.Cannot be modified.
    autoRenew Double
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    dstDatabaseType String
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    dstRegion String
    The region where the destination database resides, such as ap-guangzhou.
    dtsSyncJobId String
    ID of the resource.
    existedJobId String
    The existing sync job ID used to create a similar job.
    instanceClass String
    Sync link specification, such as micro, small, medium, large. Default is medium.
    jobId String
    Sync job ID.
    jobName String
    Sync job name.
    payMode String
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    specification String
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    srcDatabaseType String
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    srcRegion String
    The region where the source database resides, such as ap-guangzhou.
    tags List<DtsSyncJobTag>
    Tag information.Cannot be modified.
    autoRenew number
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    dstDatabaseType string
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    dstRegion string
    The region where the destination database resides, such as ap-guangzhou.
    dtsSyncJobId string
    ID of the resource.
    existedJobId string
    The existing sync job ID used to create a similar job.
    instanceClass string
    Sync link specification, such as micro, small, medium, large. Default is medium.
    jobId string
    Sync job ID.
    jobName string
    Sync job name.
    payMode string
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    specification string
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    srcDatabaseType string
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    srcRegion string
    The region where the source database resides, such as ap-guangzhou.
    tags DtsSyncJobTag[]
    Tag information.Cannot be modified.
    auto_renew float
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    dst_database_type str
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    dst_region str
    The region where the destination database resides, such as ap-guangzhou.
    dts_sync_job_id str
    ID of the resource.
    existed_job_id str
    The existing sync job ID used to create a similar job.
    instance_class str
    Sync link specification, such as micro, small, medium, large. Default is medium.
    job_id str
    Sync job ID.
    job_name str
    Sync job name.
    pay_mode str
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    specification str
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    src_database_type str
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    src_region str
    The region where the source database resides, such as ap-guangzhou.
    tags Sequence[DtsSyncJobTagArgs]
    Tag information.Cannot be modified.
    autoRenew Number
    Auto-renewal flag. Only takes effect when pay_mode is PrePay. Valid values: 1 (enable auto-renewal), 0 (disable auto-renewal, default).
    dstDatabaseType String
    Destination database type, such as mysql, mariadb, percona, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, kafka, tdstore (TDSQL TDStore), etc.
    dstRegion String
    The region where the destination database resides, such as ap-guangzhou.
    dtsSyncJobId String
    ID of the resource.
    existedJobId String
    The existing sync job ID used to create a similar job.
    instanceClass String
    Sync link specification, such as micro, small, medium, large. Default is medium.
    jobId String
    Sync job ID.
    jobName String
    Sync job name.
    payMode String
    Billing type. Valid values: PrePay (subscription, monthly/yearly billing), PostPay (pay-as-you-go).
    specification String
    Sync job specification. Standard indicates the standard edition; currently only Standard is supported.
    srcDatabaseType String
    Source database type, such as mysql, mariadb, percona, postgresql, cynosdbmysql (TDSQL-C MySQL), tdpg (TDSQL for PostgreSQL), tdsqlmysql, tdstore (TDSQL TDStore), etc.
    srcRegion String
    The region where the source database resides, such as ap-guangzhou.
    tags List<Property Map>
    Tag information.Cannot be modified.

    Supporting Types

    DtsSyncJobTag, DtsSyncJobTagArgs

    TagKey string
    Tag key.
    TagValue string
    Tag value.
    TagKey string
    Tag key.
    TagValue string
    Tag value.
    tag_key string
    Tag key.
    tag_value string
    Tag value.
    tagKey String
    Tag key.
    tagValue String
    Tag value.
    tagKey string
    Tag key.
    tagValue string
    Tag value.
    tag_key str
    Tag key.
    tag_value str
    Tag value.
    tagKey String
    Tag key.
    tagValue String
    Tag value.

    Import

    DTS sync job can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/dtsSyncJob:DtsSyncJob example sync-hpb214ua
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud
    Viewing docs for tencentcloud 1.83.38
    published on Friday, Oct 23, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial