published on Friday, Oct 23, 2026 by tencentcloudstack
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: CreateSyncJob
- Read: DescribeSyncJobs
- Update: ResizeSyncJob
- Delete:
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:
- Dst
Database stringType - 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 stringType - 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 double - Auto-renewal flag. Only takes effect when
pay_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - Dts
Sync stringJob Id - ID of the resource.
- Existed
Job stringId - The existing sync job ID used to create a similar job.
- Instance
Class string - Sync link specification, such as
micro,small,medium,large. Default ismedium. - Job
Name string - Sync job name.
- Specification string
- Sync job specification.
Standardindicates the standard edition; currently onlyStandardis supported. -
List<Dts
Sync Job Tag> - Tag information.Cannot be modified.
- Dst
Database stringType - 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 stringType - 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 float64 - Auto-renewal flag. Only takes effect when
pay_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - Dts
Sync stringJob Id - ID of the resource.
- Existed
Job stringId - The existing sync job ID used to create a similar job.
- Instance
Class string - Sync link specification, such as
micro,small,medium,large. Default ismedium. - Job
Name string - Sync job name.
- Specification string
- Sync job specification.
Standardindicates the standard edition; currently onlyStandardis supported. -
[]Dts
Sync Job Tag Args - Tag information.Cannot be modified.
- dst_
database_ stringtype - 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_ stringtype - 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_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - dts_
sync_ stringjob_ id - ID of the resource.
- existed_
job_ stringid - The existing sync job ID used to create a similar job.
- instance_
class string - Sync link specification, such as
micro,small,medium,large. Default ismedium. - job_
name string - Sync job name.
- specification string
- Sync job specification.
Standardindicates the standard edition; currently onlyStandardis supported. - list(object)
- Tag information.Cannot be modified.
- dst
Database StringType - 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 StringType - 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 Double - Auto-renewal flag. Only takes effect when
pay_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - dts
Sync StringJob Id - ID of the resource.
- existed
Job StringId - The existing sync job ID used to create a similar job.
- instance
Class String - Sync link specification, such as
micro,small,medium,large. Default ismedium. - job
Name String - Sync job name.
- specification String
- Sync job specification.
Standardindicates the standard edition; currently onlyStandardis supported. -
List<Dts
Sync Job Tag> - Tag information.Cannot be modified.
- dst
Database stringType - 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 stringType - 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_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - dts
Sync stringJob Id - ID of the resource.
- existed
Job stringId - The existing sync job ID used to create a similar job.
- instance
Class string - Sync link specification, such as
micro,small,medium,large. Default ismedium. - job
Name string - Sync job name.
- specification string
- Sync job specification.
Standardindicates the standard edition; currently onlyStandardis supported. -
Dts
Sync Job Tag[] - Tag information.Cannot be modified.
- dst_
database_ strtype - 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_ strtype - 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_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - dts_
sync_ strjob_ id - ID of the resource.
- existed_
job_ strid - The existing sync job ID used to create a similar job.
- instance_
class str - Sync link specification, such as
micro,small,medium,large. Default ismedium. - job_
name str - Sync job name.
- specification str
- Sync job specification.
Standardindicates the standard edition; currently onlyStandardis supported. -
Sequence[Dts
Sync Job Tag Args] - Tag information.Cannot be modified.
- dst
Database StringType - 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 StringType - 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_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - dts
Sync StringJob Id - ID of the resource.
- existed
Job StringId - The existing sync job ID used to create a similar job.
- instance
Class String - Sync link specification, such as
micro,small,medium,large. Default ismedium. - job
Name String - Sync job name.
- specification String
- Sync job specification.
Standardindicates the standard edition; currently onlyStandardis supported. - 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:
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) -> DtsSyncJobfunc 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.
- Auto
Renew double - Auto-renewal flag. Only takes effect when
pay_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - Dst
Database stringType - 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 stringJob Id - ID of the resource.
- Existed
Job stringId - The existing sync job ID used to create a similar job.
- Instance
Class string - Sync link specification, such as
micro,small,medium,large. Default ismedium. - 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.
Standardindicates the standard edition; currently onlyStandardis supported. - Src
Database stringType - 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. -
List<Dts
Sync Job Tag> - Tag information.Cannot be modified.
- Auto
Renew float64 - Auto-renewal flag. Only takes effect when
pay_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - Dst
Database stringType - 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 stringJob Id - ID of the resource.
- Existed
Job stringId - The existing sync job ID used to create a similar job.
- Instance
Class string - Sync link specification, such as
micro,small,medium,large. Default ismedium. - 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.
Standardindicates the standard edition; currently onlyStandardis supported. - Src
Database stringType - 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. -
[]Dts
Sync Job Tag Args - Tag information.Cannot be modified.
- auto_
renew number - Auto-renewal flag. Only takes effect when
pay_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - dst_
database_ stringtype - 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_ stringjob_ id - ID of the resource.
- existed_
job_ stringid - The existing sync job ID used to create a similar job.
- instance_
class string - Sync link specification, such as
micro,small,medium,large. Default ismedium. - 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.
Standardindicates the standard edition; currently onlyStandardis supported. - src_
database_ stringtype - 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. - list(object)
- Tag information.Cannot be modified.
- auto
Renew Double - Auto-renewal flag. Only takes effect when
pay_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - dst
Database StringType - 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 StringJob Id - ID of the resource.
- existed
Job StringId - The existing sync job ID used to create a similar job.
- instance
Class String - Sync link specification, such as
micro,small,medium,large. Default ismedium. - 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.
Standardindicates the standard edition; currently onlyStandardis supported. - src
Database StringType - 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. -
List<Dts
Sync Job Tag> - Tag information.Cannot be modified.
- auto
Renew number - Auto-renewal flag. Only takes effect when
pay_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - dst
Database stringType - 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 stringJob Id - ID of the resource.
- existed
Job stringId - The existing sync job ID used to create a similar job.
- instance
Class string - Sync link specification, such as
micro,small,medium,large. Default ismedium. - 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.
Standardindicates the standard edition; currently onlyStandardis supported. - src
Database stringType - 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. -
Dts
Sync Job Tag[] - Tag information.Cannot be modified.
- auto_
renew float - Auto-renewal flag. Only takes effect when
pay_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - dst_
database_ strtype - 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_ strjob_ id - ID of the resource.
- existed_
job_ strid - The existing sync job ID used to create a similar job.
- instance_
class str - Sync link specification, such as
micro,small,medium,large. Default ismedium. - 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.
Standardindicates the standard edition; currently onlyStandardis supported. - src_
database_ strtype - 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. -
Sequence[Dts
Sync Job Tag Args] - Tag information.Cannot be modified.
- auto
Renew Number - Auto-renewal flag. Only takes effect when
pay_modeisPrePay. Valid values:1(enable auto-renewal),0(disable auto-renewal, default). - dst
Database StringType - 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 StringJob Id - ID of the resource.
- existed
Job StringId - The existing sync job ID used to create a similar job.
- instance
Class String - Sync link specification, such as
micro,small,medium,large. Default ismedium. - 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.
Standardindicates the standard edition; currently onlyStandardis supported. - src
Database StringType - 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. - List<Property Map>
- Tag information.Cannot be modified.
Supporting Types
DtsSyncJobTag, DtsSyncJobTagArgs
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
tencentcloudTerraform Provider.
published on Friday, Oct 23, 2026 by tencentcloudstack