tencentcloud.DtsMigrateJob
Explore with Pulumi AI
Provides a resource to create a DTS migrate job
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const exampleMysqlInstance = new tencentcloud.MysqlInstance("exampleMysqlInstance", {
instanceName: "tf-example",
internetService: 1,
engineVersion: "5.7",
chargeType: "POSTPAID",
rootPassword: "PassWord@123",
slaveDeployMode: 0,
slaveSyncMode: 1,
availabilityZone: "ap-guangzhou-7",
memSize: 128000,
volumeSize: 250,
vpcId: "vpc-i5yyodl9",
subnetId: "subnet-hhi88a58",
intranetPort: 3306,
securityGroups: ["sg-e6a8xxib"],
parameters: {
character_set_server: "utf8",
max_connections: "1000",
},
tags: {
createBy: "Terraform",
},
});
const exampleCynosdbCluster = new tencentcloud.CynosdbCluster("exampleCynosdbCluster", {
clusterName: "tf-example",
dbMode: "NORMAL",
dbType: "MYSQL",
dbVersion: "5.7",
port: 3306,
password: "Password@123",
forceDelete: true,
availableZone: "ap-guangzhou-6",
slaveZone: "ap-guangzhou-7",
vpcId: "vpc-i5yyodl9",
subnetId: "subnet-hhi88a58",
instanceCpuCore: 2,
instanceMemorySize: 4,
instanceMaintainDuration: 7200,
instanceMaintainStartTime: 3600,
instanceMaintainWeekdays: [
"Fri",
"Mon",
"Sat",
"Sun",
"Thu",
"Wed",
"Tue",
],
rwGroupSgs: ["sg-e6a8xxib"],
roGroupSgs: ["sg-e6a8xxib"],
});
const exampleDtsMigrateService = new tencentcloud.DtsMigrateService("exampleDtsMigrateService", {
srcDatabaseType: "mysql",
dstDatabaseType: "cynosdbmysql",
srcRegion: "ap-guangzhou",
dstRegion: "ap-guangzhou",
instanceClass: "small",
jobName: "tf-example",
tags: [{
tagKey: "createBy",
tagValue: "Terraform",
}],
});
const exampleDtsMigrateJob = new tencentcloud.DtsMigrateJob("exampleDtsMigrateJob", {
serviceId: exampleDtsMigrateService.dtsMigrateServiceId,
runMode: "immediate",
autoRetryTimeRangeMinutes: 0,
migrateOption: {
databaseTable: {
objectMode: "partial",
databases: [{
dbName: "db_name",
dbMode: "partial",
tableMode: "partial",
tables: [{
tableName: "table_name",
newTableName: "new_table_name",
tableEditMode: "rename",
}],
}],
},
},
srcInfo: {
region: "ap-guangzhou",
accessType: "cdb",
databaseType: "mysql",
nodeType: "simple",
infos: [{
user: "root",
password: "Password@123",
instanceId: exampleMysqlInstance.mysqlInstanceId,
}],
},
dstInfo: {
region: "ap-guangzhou",
accessType: "cdb",
databaseType: "cynosdbmysql",
nodeType: "simple",
infos: [{
user: "root",
password: "Password@123",
instanceId: exampleCynosdbCluster.cynosdbClusterId,
}],
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example_mysql_instance = tencentcloud.MysqlInstance("exampleMysqlInstance",
instance_name="tf-example",
internet_service=1,
engine_version="5.7",
charge_type="POSTPAID",
root_password="PassWord@123",
slave_deploy_mode=0,
slave_sync_mode=1,
availability_zone="ap-guangzhou-7",
mem_size=128000,
volume_size=250,
vpc_id="vpc-i5yyodl9",
subnet_id="subnet-hhi88a58",
intranet_port=3306,
security_groups=["sg-e6a8xxib"],
parameters={
"character_set_server": "utf8",
"max_connections": "1000",
},
tags={
"createBy": "Terraform",
})
example_cynosdb_cluster = tencentcloud.CynosdbCluster("exampleCynosdbCluster",
cluster_name="tf-example",
db_mode="NORMAL",
db_type="MYSQL",
db_version="5.7",
port=3306,
password="Password@123",
force_delete=True,
available_zone="ap-guangzhou-6",
slave_zone="ap-guangzhou-7",
vpc_id="vpc-i5yyodl9",
subnet_id="subnet-hhi88a58",
instance_cpu_core=2,
instance_memory_size=4,
instance_maintain_duration=7200,
instance_maintain_start_time=3600,
instance_maintain_weekdays=[
"Fri",
"Mon",
"Sat",
"Sun",
"Thu",
"Wed",
"Tue",
],
rw_group_sgs=["sg-e6a8xxib"],
ro_group_sgs=["sg-e6a8xxib"])
example_dts_migrate_service = tencentcloud.DtsMigrateService("exampleDtsMigrateService",
src_database_type="mysql",
dst_database_type="cynosdbmysql",
src_region="ap-guangzhou",
dst_region="ap-guangzhou",
instance_class="small",
job_name="tf-example",
tags=[{
"tag_key": "createBy",
"tag_value": "Terraform",
}])
example_dts_migrate_job = tencentcloud.DtsMigrateJob("exampleDtsMigrateJob",
service_id=example_dts_migrate_service.dts_migrate_service_id,
run_mode="immediate",
auto_retry_time_range_minutes=0,
migrate_option={
"database_table": {
"object_mode": "partial",
"databases": [{
"db_name": "db_name",
"db_mode": "partial",
"table_mode": "partial",
"tables": [{
"table_name": "table_name",
"new_table_name": "new_table_name",
"table_edit_mode": "rename",
}],
}],
},
},
src_info={
"region": "ap-guangzhou",
"access_type": "cdb",
"database_type": "mysql",
"node_type": "simple",
"infos": [{
"user": "root",
"password": "Password@123",
"instance_id": example_mysql_instance.mysql_instance_id,
}],
},
dst_info={
"region": "ap-guangzhou",
"access_type": "cdb",
"database_type": "cynosdbmysql",
"node_type": "simple",
"infos": [{
"user": "root",
"password": "Password@123",
"instance_id": example_cynosdb_cluster.cynosdb_cluster_id,
}],
})
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 {
exampleMysqlInstance, err := tencentcloud.NewMysqlInstance(ctx, "exampleMysqlInstance", &tencentcloud.MysqlInstanceArgs{
InstanceName: pulumi.String("tf-example"),
InternetService: pulumi.Float64(1),
EngineVersion: pulumi.String("5.7"),
ChargeType: pulumi.String("POSTPAID"),
RootPassword: pulumi.String("PassWord@123"),
SlaveDeployMode: pulumi.Float64(0),
SlaveSyncMode: pulumi.Float64(1),
AvailabilityZone: pulumi.String("ap-guangzhou-7"),
MemSize: pulumi.Float64(128000),
VolumeSize: pulumi.Float64(250),
VpcId: pulumi.String("vpc-i5yyodl9"),
SubnetId: pulumi.String("subnet-hhi88a58"),
IntranetPort: pulumi.Float64(3306),
SecurityGroups: pulumi.StringArray{
pulumi.String("sg-e6a8xxib"),
},
Parameters: pulumi.StringMap{
"character_set_server": pulumi.String("utf8"),
"max_connections": pulumi.String("1000"),
},
Tags: pulumi.StringMap{
"createBy": pulumi.String("Terraform"),
},
})
if err != nil {
return err
}
exampleCynosdbCluster, err := tencentcloud.NewCynosdbCluster(ctx, "exampleCynosdbCluster", &tencentcloud.CynosdbClusterArgs{
ClusterName: pulumi.String("tf-example"),
DbMode: pulumi.String("NORMAL"),
DbType: pulumi.String("MYSQL"),
DbVersion: pulumi.String("5.7"),
Port: pulumi.Float64(3306),
Password: pulumi.String("Password@123"),
ForceDelete: pulumi.Bool(true),
AvailableZone: pulumi.String("ap-guangzhou-6"),
SlaveZone: pulumi.String("ap-guangzhou-7"),
VpcId: pulumi.String("vpc-i5yyodl9"),
SubnetId: pulumi.String("subnet-hhi88a58"),
InstanceCpuCore: pulumi.Float64(2),
InstanceMemorySize: pulumi.Float64(4),
InstanceMaintainDuration: pulumi.Float64(7200),
InstanceMaintainStartTime: pulumi.Float64(3600),
InstanceMaintainWeekdays: pulumi.StringArray{
pulumi.String("Fri"),
pulumi.String("Mon"),
pulumi.String("Sat"),
pulumi.String("Sun"),
pulumi.String("Thu"),
pulumi.String("Wed"),
pulumi.String("Tue"),
},
RwGroupSgs: pulumi.StringArray{
pulumi.String("sg-e6a8xxib"),
},
RoGroupSgs: pulumi.StringArray{
pulumi.String("sg-e6a8xxib"),
},
})
if err != nil {
return err
}
exampleDtsMigrateService, err := tencentcloud.NewDtsMigrateService(ctx, "exampleDtsMigrateService", &tencentcloud.DtsMigrateServiceArgs{
SrcDatabaseType: pulumi.String("mysql"),
DstDatabaseType: pulumi.String("cynosdbmysql"),
SrcRegion: pulumi.String("ap-guangzhou"),
DstRegion: pulumi.String("ap-guangzhou"),
InstanceClass: pulumi.String("small"),
JobName: pulumi.String("tf-example"),
Tags: tencentcloud.DtsMigrateServiceTagArray{
&tencentcloud.DtsMigrateServiceTagArgs{
TagKey: pulumi.String("createBy"),
TagValue: pulumi.String("Terraform"),
},
},
})
if err != nil {
return err
}
_, err = tencentcloud.NewDtsMigrateJob(ctx, "exampleDtsMigrateJob", &tencentcloud.DtsMigrateJobArgs{
ServiceId: exampleDtsMigrateService.DtsMigrateServiceId,
RunMode: pulumi.String("immediate"),
AutoRetryTimeRangeMinutes: pulumi.Float64(0),
MigrateOption: &tencentcloud.DtsMigrateJobMigrateOptionArgs{
DatabaseTable: &tencentcloud.DtsMigrateJobMigrateOptionDatabaseTableArgs{
ObjectMode: pulumi.String("partial"),
Databases: tencentcloud.DtsMigrateJobMigrateOptionDatabaseTableDatabaseArray{
&tencentcloud.DtsMigrateJobMigrateOptionDatabaseTableDatabaseArgs{
DbName: pulumi.String("db_name"),
DbMode: pulumi.String("partial"),
TableMode: pulumi.String("partial"),
Tables: tencentcloud.DtsMigrateJobMigrateOptionDatabaseTableDatabaseTableArray{
&tencentcloud.DtsMigrateJobMigrateOptionDatabaseTableDatabaseTableArgs{
TableName: pulumi.String("table_name"),
NewTableName: pulumi.String("new_table_name"),
TableEditMode: pulumi.String("rename"),
},
},
},
},
},
},
SrcInfo: &tencentcloud.DtsMigrateJobSrcInfoArgs{
Region: pulumi.String("ap-guangzhou"),
AccessType: pulumi.String("cdb"),
DatabaseType: pulumi.String("mysql"),
NodeType: pulumi.String("simple"),
Infos: tencentcloud.DtsMigrateJobSrcInfoInfoArray{
&tencentcloud.DtsMigrateJobSrcInfoInfoArgs{
User: pulumi.String("root"),
Password: pulumi.String("Password@123"),
InstanceId: exampleMysqlInstance.MysqlInstanceId,
},
},
},
DstInfo: &tencentcloud.DtsMigrateJobDstInfoArgs{
Region: pulumi.String("ap-guangzhou"),
AccessType: pulumi.String("cdb"),
DatabaseType: pulumi.String("cynosdbmysql"),
NodeType: pulumi.String("simple"),
Infos: tencentcloud.DtsMigrateJobDstInfoInfoArray{
&tencentcloud.DtsMigrateJobDstInfoInfoArgs{
User: pulumi.String("root"),
Password: pulumi.String("Password@123"),
InstanceId: exampleCynosdbCluster.CynosdbClusterId,
},
},
},
})
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 exampleMysqlInstance = new Tencentcloud.MysqlInstance("exampleMysqlInstance", new()
{
InstanceName = "tf-example",
InternetService = 1,
EngineVersion = "5.7",
ChargeType = "POSTPAID",
RootPassword = "PassWord@123",
SlaveDeployMode = 0,
SlaveSyncMode = 1,
AvailabilityZone = "ap-guangzhou-7",
MemSize = 128000,
VolumeSize = 250,
VpcId = "vpc-i5yyodl9",
SubnetId = "subnet-hhi88a58",
IntranetPort = 3306,
SecurityGroups = new[]
{
"sg-e6a8xxib",
},
Parameters =
{
{ "character_set_server", "utf8" },
{ "max_connections", "1000" },
},
Tags =
{
{ "createBy", "Terraform" },
},
});
var exampleCynosdbCluster = new Tencentcloud.CynosdbCluster("exampleCynosdbCluster", new()
{
ClusterName = "tf-example",
DbMode = "NORMAL",
DbType = "MYSQL",
DbVersion = "5.7",
Port = 3306,
Password = "Password@123",
ForceDelete = true,
AvailableZone = "ap-guangzhou-6",
SlaveZone = "ap-guangzhou-7",
VpcId = "vpc-i5yyodl9",
SubnetId = "subnet-hhi88a58",
InstanceCpuCore = 2,
InstanceMemorySize = 4,
InstanceMaintainDuration = 7200,
InstanceMaintainStartTime = 3600,
InstanceMaintainWeekdays = new[]
{
"Fri",
"Mon",
"Sat",
"Sun",
"Thu",
"Wed",
"Tue",
},
RwGroupSgs = new[]
{
"sg-e6a8xxib",
},
RoGroupSgs = new[]
{
"sg-e6a8xxib",
},
});
var exampleDtsMigrateService = new Tencentcloud.DtsMigrateService("exampleDtsMigrateService", new()
{
SrcDatabaseType = "mysql",
DstDatabaseType = "cynosdbmysql",
SrcRegion = "ap-guangzhou",
DstRegion = "ap-guangzhou",
InstanceClass = "small",
JobName = "tf-example",
Tags = new[]
{
new Tencentcloud.Inputs.DtsMigrateServiceTagArgs
{
TagKey = "createBy",
TagValue = "Terraform",
},
},
});
var exampleDtsMigrateJob = new Tencentcloud.DtsMigrateJob("exampleDtsMigrateJob", new()
{
ServiceId = exampleDtsMigrateService.DtsMigrateServiceId,
RunMode = "immediate",
AutoRetryTimeRangeMinutes = 0,
MigrateOption = new Tencentcloud.Inputs.DtsMigrateJobMigrateOptionArgs
{
DatabaseTable = new Tencentcloud.Inputs.DtsMigrateJobMigrateOptionDatabaseTableArgs
{
ObjectMode = "partial",
Databases = new[]
{
new Tencentcloud.Inputs.DtsMigrateJobMigrateOptionDatabaseTableDatabaseArgs
{
DbName = "db_name",
DbMode = "partial",
TableMode = "partial",
Tables = new[]
{
new Tencentcloud.Inputs.DtsMigrateJobMigrateOptionDatabaseTableDatabaseTableArgs
{
TableName = "table_name",
NewTableName = "new_table_name",
TableEditMode = "rename",
},
},
},
},
},
},
SrcInfo = new Tencentcloud.Inputs.DtsMigrateJobSrcInfoArgs
{
Region = "ap-guangzhou",
AccessType = "cdb",
DatabaseType = "mysql",
NodeType = "simple",
Infos = new[]
{
new Tencentcloud.Inputs.DtsMigrateJobSrcInfoInfoArgs
{
User = "root",
Password = "Password@123",
InstanceId = exampleMysqlInstance.MysqlInstanceId,
},
},
},
DstInfo = new Tencentcloud.Inputs.DtsMigrateJobDstInfoArgs
{
Region = "ap-guangzhou",
AccessType = "cdb",
DatabaseType = "cynosdbmysql",
NodeType = "simple",
Infos = new[]
{
new Tencentcloud.Inputs.DtsMigrateJobDstInfoInfoArgs
{
User = "root",
Password = "Password@123",
InstanceId = exampleCynosdbCluster.CynosdbClusterId,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MysqlInstance;
import com.pulumi.tencentcloud.MysqlInstanceArgs;
import com.pulumi.tencentcloud.CynosdbCluster;
import com.pulumi.tencentcloud.CynosdbClusterArgs;
import com.pulumi.tencentcloud.DtsMigrateService;
import com.pulumi.tencentcloud.DtsMigrateServiceArgs;
import com.pulumi.tencentcloud.inputs.DtsMigrateServiceTagArgs;
import com.pulumi.tencentcloud.DtsMigrateJob;
import com.pulumi.tencentcloud.DtsMigrateJobArgs;
import com.pulumi.tencentcloud.inputs.DtsMigrateJobMigrateOptionArgs;
import com.pulumi.tencentcloud.inputs.DtsMigrateJobMigrateOptionDatabaseTableArgs;
import com.pulumi.tencentcloud.inputs.DtsMigrateJobSrcInfoArgs;
import com.pulumi.tencentcloud.inputs.DtsMigrateJobDstInfoArgs;
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 exampleMysqlInstance = new MysqlInstance("exampleMysqlInstance", MysqlInstanceArgs.builder()
.instanceName("tf-example")
.internetService(1)
.engineVersion("5.7")
.chargeType("POSTPAID")
.rootPassword("PassWord@123")
.slaveDeployMode(0)
.slaveSyncMode(1)
.availabilityZone("ap-guangzhou-7")
.memSize(128000)
.volumeSize(250)
.vpcId("vpc-i5yyodl9")
.subnetId("subnet-hhi88a58")
.intranetPort(3306)
.securityGroups("sg-e6a8xxib")
.parameters(Map.ofEntries(
Map.entry("character_set_server", "utf8"),
Map.entry("max_connections", "1000")
))
.tags(Map.of("createBy", "Terraform"))
.build());
var exampleCynosdbCluster = new CynosdbCluster("exampleCynosdbCluster", CynosdbClusterArgs.builder()
.clusterName("tf-example")
.dbMode("NORMAL")
.dbType("MYSQL")
.dbVersion("5.7")
.port(3306)
.password("Password@123")
.forceDelete(true)
.availableZone("ap-guangzhou-6")
.slaveZone("ap-guangzhou-7")
.vpcId("vpc-i5yyodl9")
.subnetId("subnet-hhi88a58")
.instanceCpuCore(2)
.instanceMemorySize(4)
.instanceMaintainDuration(7200)
.instanceMaintainStartTime(3600)
.instanceMaintainWeekdays(
"Fri",
"Mon",
"Sat",
"Sun",
"Thu",
"Wed",
"Tue")
.rwGroupSgs("sg-e6a8xxib")
.roGroupSgs("sg-e6a8xxib")
.build());
var exampleDtsMigrateService = new DtsMigrateService("exampleDtsMigrateService", DtsMigrateServiceArgs.builder()
.srcDatabaseType("mysql")
.dstDatabaseType("cynosdbmysql")
.srcRegion("ap-guangzhou")
.dstRegion("ap-guangzhou")
.instanceClass("small")
.jobName("tf-example")
.tags(DtsMigrateServiceTagArgs.builder()
.tagKey("createBy")
.tagValue("Terraform")
.build())
.build());
var exampleDtsMigrateJob = new DtsMigrateJob("exampleDtsMigrateJob", DtsMigrateJobArgs.builder()
.serviceId(exampleDtsMigrateService.dtsMigrateServiceId())
.runMode("immediate")
.autoRetryTimeRangeMinutes(0)
.migrateOption(DtsMigrateJobMigrateOptionArgs.builder()
.databaseTable(DtsMigrateJobMigrateOptionDatabaseTableArgs.builder()
.objectMode("partial")
.databases(DtsMigrateJobMigrateOptionDatabaseTableDatabaseArgs.builder()
.dbName("db_name")
.dbMode("partial")
.tableMode("partial")
.tables(DtsMigrateJobMigrateOptionDatabaseTableDatabaseTableArgs.builder()
.tableName("table_name")
.newTableName("new_table_name")
.tableEditMode("rename")
.build())
.build())
.build())
.build())
.srcInfo(DtsMigrateJobSrcInfoArgs.builder()
.region("ap-guangzhou")
.accessType("cdb")
.databaseType("mysql")
.nodeType("simple")
.infos(DtsMigrateJobSrcInfoInfoArgs.builder()
.user("root")
.password("Password@123")
.instanceId(exampleMysqlInstance.mysqlInstanceId())
.build())
.build())
.dstInfo(DtsMigrateJobDstInfoArgs.builder()
.region("ap-guangzhou")
.accessType("cdb")
.databaseType("cynosdbmysql")
.nodeType("simple")
.infos(DtsMigrateJobDstInfoInfoArgs.builder()
.user("root")
.password("Password@123")
.instanceId(exampleCynosdbCluster.cynosdbClusterId())
.build())
.build())
.build());
}
}
resources:
exampleMysqlInstance:
type: tencentcloud:MysqlInstance
properties:
instanceName: tf-example
internetService: 1
engineVersion: '5.7'
chargeType: POSTPAID
rootPassword: PassWord@123
slaveDeployMode: 0
slaveSyncMode: 1
availabilityZone: ap-guangzhou-7
memSize: 128000
volumeSize: 250
vpcId: vpc-i5yyodl9
subnetId: subnet-hhi88a58
intranetPort: 3306
securityGroups:
- sg-e6a8xxib
parameters:
character_set_server: utf8
max_connections: '1000'
tags:
createBy: Terraform
exampleCynosdbCluster:
type: tencentcloud:CynosdbCluster
properties:
clusterName: tf-example
dbMode: NORMAL
dbType: MYSQL
dbVersion: '5.7'
port: 3306
password: Password@123
forceDelete: true
availableZone: ap-guangzhou-6
slaveZone: ap-guangzhou-7
vpcId: vpc-i5yyodl9
subnetId: subnet-hhi88a58
instanceCpuCore: 2
instanceMemorySize: 4
instanceMaintainDuration: 7200
instanceMaintainStartTime: 3600
instanceMaintainWeekdays:
- Fri
- Mon
- Sat
- Sun
- Thu
- Wed
- Tue
rwGroupSgs:
- sg-e6a8xxib
roGroupSgs:
- sg-e6a8xxib
exampleDtsMigrateService:
type: tencentcloud:DtsMigrateService
properties:
srcDatabaseType: mysql
dstDatabaseType: cynosdbmysql
srcRegion: ap-guangzhou
dstRegion: ap-guangzhou
instanceClass: small
jobName: tf-example
tags:
- tagKey: createBy
tagValue: Terraform
exampleDtsMigrateJob:
type: tencentcloud:DtsMigrateJob
properties:
serviceId: ${exampleDtsMigrateService.dtsMigrateServiceId}
runMode: immediate
autoRetryTimeRangeMinutes: 0
migrateOption:
databaseTable:
objectMode: partial
databases:
- dbName: db_name
dbMode: partial
tableMode: partial
tables:
- tableName: table_name
newTableName: new_table_name
tableEditMode: rename
srcInfo:
region: ap-guangzhou
accessType: cdb
databaseType: mysql
nodeType: simple
infos:
- user: root
password: Password@123
instanceId: ${exampleMysqlInstance.mysqlInstanceId}
dstInfo:
region: ap-guangzhou
accessType: cdb
databaseType: cynosdbmysql
nodeType: simple
infos:
- user: root
password: Password@123
instanceId: ${exampleCynosdbCluster.cynosdbClusterId}
Create DtsMigrateJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DtsMigrateJob(name: string, args: DtsMigrateJobArgs, opts?: CustomResourceOptions);
@overload
def DtsMigrateJob(resource_name: str,
args: DtsMigrateJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DtsMigrateJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
dst_info: Optional[DtsMigrateJobDstInfoArgs] = None,
migrate_option: Optional[DtsMigrateJobMigrateOptionArgs] = None,
run_mode: Optional[str] = None,
service_id: Optional[str] = None,
src_info: Optional[DtsMigrateJobSrcInfoArgs] = None,
auto_retry_time_range_minutes: Optional[float] = None,
dts_migrate_job_id: Optional[str] = None,
expect_run_time: Optional[str] = None)
func NewDtsMigrateJob(ctx *Context, name string, args DtsMigrateJobArgs, opts ...ResourceOption) (*DtsMigrateJob, error)
public DtsMigrateJob(string name, DtsMigrateJobArgs args, CustomResourceOptions? opts = null)
public DtsMigrateJob(String name, DtsMigrateJobArgs args)
public DtsMigrateJob(String name, DtsMigrateJobArgs args, CustomResourceOptions options)
type: tencentcloud:DtsMigrateJob
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DtsMigrateJobArgs
- 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 DtsMigrateJobArgs
- 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 DtsMigrateJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DtsMigrateJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DtsMigrateJobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DtsMigrateJob 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 DtsMigrateJob resource accepts the following input properties:
- Dst
Info DtsMigrate Job Dst Info - Target database information.
- Migrate
Option DtsMigrate Job Migrate Option - Migration job configuration options, used to describe how the task performs migration.
- Run
Mode string - Running mode. Valid values: immediate, timed.
- Service
Id string - Migrate service Id from
tencentcloud.DtsMigrateService
. - Src
Info DtsMigrate Job Src Info - Source instance information.
- Auto
Retry doubleTime Range Minutes - The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry.
- Dts
Migrate stringJob Id - ID of the resource.
- Expect
Run stringTime - Expected start time in the format of
2006-01-02 15:04:05
, which is required if RunMode is timed.
- Dst
Info DtsMigrate Job Dst Info Args - Target database information.
- Migrate
Option DtsMigrate Job Migrate Option Args - Migration job configuration options, used to describe how the task performs migration.
- Run
Mode string - Running mode. Valid values: immediate, timed.
- Service
Id string - Migrate service Id from
tencentcloud.DtsMigrateService
. - Src
Info DtsMigrate Job Src Info Args - Source instance information.
- Auto
Retry float64Time Range Minutes - The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry.
- Dts
Migrate stringJob Id - ID of the resource.
- Expect
Run stringTime - Expected start time in the format of
2006-01-02 15:04:05
, which is required if RunMode is timed.
- dst
Info DtsMigrate Job Dst Info - Target database information.
- migrate
Option DtsMigrate Job Migrate Option - Migration job configuration options, used to describe how the task performs migration.
- run
Mode String - Running mode. Valid values: immediate, timed.
- service
Id String - Migrate service Id from
tencentcloud.DtsMigrateService
. - src
Info DtsMigrate Job Src Info - Source instance information.
- auto
Retry DoubleTime Range Minutes - The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry.
- dts
Migrate StringJob Id - ID of the resource.
- expect
Run StringTime - Expected start time in the format of
2006-01-02 15:04:05
, which is required if RunMode is timed.
- dst
Info DtsMigrate Job Dst Info - Target database information.
- migrate
Option DtsMigrate Job Migrate Option - Migration job configuration options, used to describe how the task performs migration.
- run
Mode string - Running mode. Valid values: immediate, timed.
- service
Id string - Migrate service Id from
tencentcloud.DtsMigrateService
. - src
Info DtsMigrate Job Src Info - Source instance information.
- auto
Retry numberTime Range Minutes - The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry.
- dts
Migrate stringJob Id - ID of the resource.
- expect
Run stringTime - Expected start time in the format of
2006-01-02 15:04:05
, which is required if RunMode is timed.
- dst_
info DtsMigrate Job Dst Info Args - Target database information.
- migrate_
option DtsMigrate Job Migrate Option Args - Migration job configuration options, used to describe how the task performs migration.
- run_
mode str - Running mode. Valid values: immediate, timed.
- service_
id str - Migrate service Id from
tencentcloud.DtsMigrateService
. - src_
info DtsMigrate Job Src Info Args - Source instance information.
- auto_
retry_ floattime_ range_ minutes - The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry.
- dts_
migrate_ strjob_ id - ID of the resource.
- expect_
run_ strtime - Expected start time in the format of
2006-01-02 15:04:05
, which is required if RunMode is timed.
- dst
Info Property Map - Target database information.
- migrate
Option Property Map - Migration job configuration options, used to describe how the task performs migration.
- run
Mode String - Running mode. Valid values: immediate, timed.
- service
Id String - Migrate service Id from
tencentcloud.DtsMigrateService
. - src
Info Property Map - Source instance information.
- auto
Retry NumberTime Range Minutes - The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry.
- dts
Migrate StringJob Id - ID of the resource.
- expect
Run StringTime - Expected start time in the format of
2006-01-02 15:04:05
, which is required if RunMode is timed.
Outputs
All input properties are implicitly available as output properties. Additionally, the DtsMigrateJob resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Task status. Valid values: created(Created), checking (Checking), checkPass (Check passed), checkNotPass (Check not passed), readyRun (Ready for running), running (Running), readyComplete (Preparation completed), success (Successful), failed (Failed), stopping (Stopping), completing (Completing), pausing (Pausing), manualPaused (Paused).
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Task status. Valid values: created(Created), checking (Checking), checkPass (Check passed), checkNotPass (Check not passed), readyRun (Ready for running), running (Running), readyComplete (Preparation completed), success (Successful), failed (Failed), stopping (Stopping), completing (Completing), pausing (Pausing), manualPaused (Paused).
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Task status. Valid values: created(Created), checking (Checking), checkPass (Check passed), checkNotPass (Check not passed), readyRun (Ready for running), running (Running), readyComplete (Preparation completed), success (Successful), failed (Failed), stopping (Stopping), completing (Completing), pausing (Pausing), manualPaused (Paused).
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Task status. Valid values: created(Created), checking (Checking), checkPass (Check passed), checkNotPass (Check not passed), readyRun (Ready for running), running (Running), readyComplete (Preparation completed), success (Successful), failed (Failed), stopping (Stopping), completing (Completing), pausing (Pausing), manualPaused (Paused).
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Task status. Valid values: created(Created), checking (Checking), checkPass (Check passed), checkNotPass (Check not passed), readyRun (Ready for running), running (Running), readyComplete (Preparation completed), success (Successful), failed (Failed), stopping (Stopping), completing (Completing), pausing (Pausing), manualPaused (Paused).
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Task status. Valid values: created(Created), checking (Checking), checkPass (Check passed), checkNotPass (Check not passed), readyRun (Ready for running), running (Running), readyComplete (Preparation completed), success (Successful), failed (Failed), stopping (Stopping), completing (Completing), pausing (Pausing), manualPaused (Paused).
Look up Existing DtsMigrateJob Resource
Get an existing DtsMigrateJob 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?: DtsMigrateJobState, opts?: CustomResourceOptions): DtsMigrateJob
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_retry_time_range_minutes: Optional[float] = None,
dst_info: Optional[DtsMigrateJobDstInfoArgs] = None,
dts_migrate_job_id: Optional[str] = None,
expect_run_time: Optional[str] = None,
migrate_option: Optional[DtsMigrateJobMigrateOptionArgs] = None,
run_mode: Optional[str] = None,
service_id: Optional[str] = None,
src_info: Optional[DtsMigrateJobSrcInfoArgs] = None,
status: Optional[str] = None) -> DtsMigrateJob
func GetDtsMigrateJob(ctx *Context, name string, id IDInput, state *DtsMigrateJobState, opts ...ResourceOption) (*DtsMigrateJob, error)
public static DtsMigrateJob Get(string name, Input<string> id, DtsMigrateJobState? state, CustomResourceOptions? opts = null)
public static DtsMigrateJob get(String name, Output<String> id, DtsMigrateJobState state, CustomResourceOptions options)
resources: _: type: tencentcloud:DtsMigrateJob get: 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
Retry doubleTime Range Minutes - The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry.
- Dst
Info DtsMigrate Job Dst Info - Target database information.
- Dts
Migrate stringJob Id - ID of the resource.
- Expect
Run stringTime - Expected start time in the format of
2006-01-02 15:04:05
, which is required if RunMode is timed. - Migrate
Option DtsMigrate Job Migrate Option - Migration job configuration options, used to describe how the task performs migration.
- Run
Mode string - Running mode. Valid values: immediate, timed.
- Service
Id string - Migrate service Id from
tencentcloud.DtsMigrateService
. - Src
Info DtsMigrate Job Src Info - Source instance information.
- Status string
- Task status. Valid values: created(Created), checking (Checking), checkPass (Check passed), checkNotPass (Check not passed), readyRun (Ready for running), running (Running), readyComplete (Preparation completed), success (Successful), failed (Failed), stopping (Stopping), completing (Completing), pausing (Pausing), manualPaused (Paused).
- Auto
Retry float64Time Range Minutes - The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry.
- Dst
Info DtsMigrate Job Dst Info Args - Target database information.
- Dts
Migrate stringJob Id - ID of the resource.
- Expect
Run stringTime - Expected start time in the format of
2006-01-02 15:04:05
, which is required if RunMode is timed. - Migrate
Option DtsMigrate Job Migrate Option Args - Migration job configuration options, used to describe how the task performs migration.
- Run
Mode string - Running mode. Valid values: immediate, timed.
- Service
Id string - Migrate service Id from
tencentcloud.DtsMigrateService
. - Src
Info DtsMigrate Job Src Info Args - Source instance information.
- Status string
- Task status. Valid values: created(Created), checking (Checking), checkPass (Check passed), checkNotPass (Check not passed), readyRun (Ready for running), running (Running), readyComplete (Preparation completed), success (Successful), failed (Failed), stopping (Stopping), completing (Completing), pausing (Pausing), manualPaused (Paused).
- auto
Retry DoubleTime Range Minutes - The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry.
- dst
Info DtsMigrate Job Dst Info - Target database information.
- dts
Migrate StringJob Id - ID of the resource.
- expect
Run StringTime - Expected start time in the format of
2006-01-02 15:04:05
, which is required if RunMode is timed. - migrate
Option DtsMigrate Job Migrate Option - Migration job configuration options, used to describe how the task performs migration.
- run
Mode String - Running mode. Valid values: immediate, timed.
- service
Id String - Migrate service Id from
tencentcloud.DtsMigrateService
. - src
Info DtsMigrate Job Src Info - Source instance information.
- status String
- Task status. Valid values: created(Created), checking (Checking), checkPass (Check passed), checkNotPass (Check not passed), readyRun (Ready for running), running (Running), readyComplete (Preparation completed), success (Successful), failed (Failed), stopping (Stopping), completing (Completing), pausing (Pausing), manualPaused (Paused).
- auto
Retry numberTime Range Minutes - The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry.
- dst
Info DtsMigrate Job Dst Info - Target database information.
- dts
Migrate stringJob Id - ID of the resource.
- expect
Run stringTime - Expected start time in the format of
2006-01-02 15:04:05
, which is required if RunMode is timed. - migrate
Option DtsMigrate Job Migrate Option - Migration job configuration options, used to describe how the task performs migration.
- run
Mode string - Running mode. Valid values: immediate, timed.
- service
Id string - Migrate service Id from
tencentcloud.DtsMigrateService
. - src
Info DtsMigrate Job Src Info - Source instance information.
- status string
- Task status. Valid values: created(Created), checking (Checking), checkPass (Check passed), checkNotPass (Check not passed), readyRun (Ready for running), running (Running), readyComplete (Preparation completed), success (Successful), failed (Failed), stopping (Stopping), completing (Completing), pausing (Pausing), manualPaused (Paused).
- auto_
retry_ floattime_ range_ minutes - The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry.
- dst_
info DtsMigrate Job Dst Info Args - Target database information.
- dts_
migrate_ strjob_ id - ID of the resource.
- expect_
run_ strtime - Expected start time in the format of
2006-01-02 15:04:05
, which is required if RunMode is timed. - migrate_
option DtsMigrate Job Migrate Option Args - Migration job configuration options, used to describe how the task performs migration.
- run_
mode str - Running mode. Valid values: immediate, timed.
- service_
id str - Migrate service Id from
tencentcloud.DtsMigrateService
. - src_
info DtsMigrate Job Src Info Args - Source instance information.
- status str
- Task status. Valid values: created(Created), checking (Checking), checkPass (Check passed), checkNotPass (Check not passed), readyRun (Ready for running), running (Running), readyComplete (Preparation completed), success (Successful), failed (Failed), stopping (Stopping), completing (Completing), pausing (Pausing), manualPaused (Paused).
- auto
Retry NumberTime Range Minutes - The automatic retry time period can be set from 5 to 720 minutes, with 0 indicating no retry.
- dst
Info Property Map - Target database information.
- dts
Migrate StringJob Id - ID of the resource.
- expect
Run StringTime - Expected start time in the format of
2006-01-02 15:04:05
, which is required if RunMode is timed. - migrate
Option Property Map - Migration job configuration options, used to describe how the task performs migration.
- run
Mode String - Running mode. Valid values: immediate, timed.
- service
Id String - Migrate service Id from
tencentcloud.DtsMigrateService
. - src
Info Property Map - Source instance information.
- status String
- Task status. Valid values: created(Created), checking (Checking), checkPass (Check passed), checkNotPass (Check not passed), readyRun (Ready for running), running (Running), readyComplete (Preparation completed), success (Successful), failed (Failed), stopping (Stopping), completing (Completing), pausing (Pausing), manualPaused (Paused).
Supporting Types
DtsMigrateJobDstInfo, DtsMigrateJobDstInfoArgs
- Access
Type string - Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link.
- Database
Type string - Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona.
- Infos
List<Dts
Migrate Job Dst Info Info> - Database information.
- Node
Type string - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).
- Region string
- Instance region.
- Extra
Attrs List<DtsMigrate Job Dst Info Extra Attr> - For MongoDB, you can define the following parameters: ['AuthDatabase':'admin','AuthFlag': '1', 'AuthMechanism':'SCRAM-SHA-1'].
- Supplier string
- Instance service provider, such as
aliyun
andothers
.
- Access
Type string - Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link.
- Database
Type string - Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona.
- Infos
[]Dts
Migrate Job Dst Info Info - Database information.
- Node
Type string - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).
- Region string
- Instance region.
- Extra
Attrs []DtsMigrate Job Dst Info Extra Attr - For MongoDB, you can define the following parameters: ['AuthDatabase':'admin','AuthFlag': '1', 'AuthMechanism':'SCRAM-SHA-1'].
- Supplier string
- Instance service provider, such as
aliyun
andothers
.
- access
Type String - Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link.
- database
Type String - Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona.
- infos
List<Dts
Migrate Job Dst Info Info> - Database information.
- node
Type String - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).
- region String
- Instance region.
- extra
Attrs List<DtsMigrate Job Dst Info Extra Attr> - For MongoDB, you can define the following parameters: ['AuthDatabase':'admin','AuthFlag': '1', 'AuthMechanism':'SCRAM-SHA-1'].
- supplier String
- Instance service provider, such as
aliyun
andothers
.
- access
Type string - Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link.
- database
Type string - Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona.
- infos
Dts
Migrate Job Dst Info Info[] - Database information.
- node
Type string - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).
- region string
- Instance region.
- extra
Attrs DtsMigrate Job Dst Info Extra Attr[] - For MongoDB, you can define the following parameters: ['AuthDatabase':'admin','AuthFlag': '1', 'AuthMechanism':'SCRAM-SHA-1'].
- supplier string
- Instance service provider, such as
aliyun
andothers
.
- access_
type str - Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link.
- database_
type str - Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona.
- infos
Sequence[Dts
Migrate Job Dst Info Info] - Database information.
- node_
type str - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).
- region str
- Instance region.
- extra_
attrs Sequence[DtsMigrate Job Dst Info Extra Attr] - For MongoDB, you can define the following parameters: ['AuthDatabase':'admin','AuthFlag': '1', 'AuthMechanism':'SCRAM-SHA-1'].
- supplier str
- Instance service provider, such as
aliyun
andothers
.
- access
Type String - Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link.
- database
Type String - Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona.
- infos List<Property Map>
- Database information.
- node
Type String - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).
- region String
- Instance region.
- extra
Attrs List<Property Map> - For MongoDB, you can define the following parameters: ['AuthDatabase':'admin','AuthFlag': '1', 'AuthMechanism':'SCRAM-SHA-1'].
- supplier String
- Instance service provider, such as
aliyun
andothers
.
DtsMigrateJobDstInfoExtraAttr, DtsMigrateJobDstInfoExtraAttrArgs
DtsMigrateJobDstInfoInfo, DtsMigrateJobDstInfoInfoArgs
- Account string
- Instance account.
- Account
Mode string - The account to which the resource belongs. Valid values: empty or self (the current account); other (another account).
- Account
Role string - The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+.
- Ccn
Gw stringId - CCN instance ID such as ccn-afp6kltc.
- Cvm
Instance stringId - Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console.
- Db
Kernel string - Kernel version, such as the different kernel versions of MariaDB.
- Engine
Version string - Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6.
- Host string
- Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC.
- Instance
Id string - Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb.
- Password string
- Instance password.
- Port double
- Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC.
- Role string
- Node role in a distributed database, such as the mongos node in MongoDB.
- Subnet
Id string - ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- Tmp
Secret stringId - Temporary SecretId, you can obtain the temporary key by GetFederationToken.
- Tmp
Secret stringKey - Temporary SecretKey, you can obtain the temporary key by GetFederationToken.
- Tmp
Token string - Temporary token, you can obtain the temporary key by GetFederationToken.
- Uniq
Dcg stringId - Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg.
- Uniq
Vpn stringGw Id - VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud.
- User string
- Instance username.
- Vpc
Id string - VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- Account string
- Instance account.
- Account
Mode string - The account to which the resource belongs. Valid values: empty or self (the current account); other (another account).
- Account
Role string - The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+.
- Ccn
Gw stringId - CCN instance ID such as ccn-afp6kltc.
- Cvm
Instance stringId - Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console.
- Db
Kernel string - Kernel version, such as the different kernel versions of MariaDB.
- Engine
Version string - Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6.
- Host string
- Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC.
- Instance
Id string - Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb.
- Password string
- Instance password.
- Port float64
- Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC.
- Role string
- Node role in a distributed database, such as the mongos node in MongoDB.
- Subnet
Id string - ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- Tmp
Secret stringId - Temporary SecretId, you can obtain the temporary key by GetFederationToken.
- Tmp
Secret stringKey - Temporary SecretKey, you can obtain the temporary key by GetFederationToken.
- Tmp
Token string - Temporary token, you can obtain the temporary key by GetFederationToken.
- Uniq
Dcg stringId - Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg.
- Uniq
Vpn stringGw Id - VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud.
- User string
- Instance username.
- Vpc
Id string - VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- account String
- Instance account.
- account
Mode String - The account to which the resource belongs. Valid values: empty or self (the current account); other (another account).
- account
Role String - The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+.
- ccn
Gw StringId - CCN instance ID such as ccn-afp6kltc.
- cvm
Instance StringId - Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console.
- db
Kernel String - Kernel version, such as the different kernel versions of MariaDB.
- engine
Version String - Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6.
- host String
- Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC.
- instance
Id String - Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb.
- password String
- Instance password.
- port Double
- Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC.
- role String
- Node role in a distributed database, such as the mongos node in MongoDB.
- subnet
Id String - ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- tmp
Secret StringId - Temporary SecretId, you can obtain the temporary key by GetFederationToken.
- tmp
Secret StringKey - Temporary SecretKey, you can obtain the temporary key by GetFederationToken.
- tmp
Token String - Temporary token, you can obtain the temporary key by GetFederationToken.
- uniq
Dcg StringId - Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg.
- uniq
Vpn StringGw Id - VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud.
- user String
- Instance username.
- vpc
Id String - VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- account string
- Instance account.
- account
Mode string - The account to which the resource belongs. Valid values: empty or self (the current account); other (another account).
- account
Role string - The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+.
- ccn
Gw stringId - CCN instance ID such as ccn-afp6kltc.
- cvm
Instance stringId - Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console.
- db
Kernel string - Kernel version, such as the different kernel versions of MariaDB.
- engine
Version string - Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6.
- host string
- Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC.
- instance
Id string - Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb.
- password string
- Instance password.
- port number
- Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC.
- role string
- Node role in a distributed database, such as the mongos node in MongoDB.
- subnet
Id string - ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- tmp
Secret stringId - Temporary SecretId, you can obtain the temporary key by GetFederationToken.
- tmp
Secret stringKey - Temporary SecretKey, you can obtain the temporary key by GetFederationToken.
- tmp
Token string - Temporary token, you can obtain the temporary key by GetFederationToken.
- uniq
Dcg stringId - Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg.
- uniq
Vpn stringGw Id - VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud.
- user string
- Instance username.
- vpc
Id string - VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- account str
- Instance account.
- account_
mode str - The account to which the resource belongs. Valid values: empty or self (the current account); other (another account).
- account_
role str - The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+.
- ccn_
gw_ strid - CCN instance ID such as ccn-afp6kltc.
- cvm_
instance_ strid - Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console.
- db_
kernel str - Kernel version, such as the different kernel versions of MariaDB.
- engine_
version str - Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6.
- host str
- Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC.
- instance_
id str - Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb.
- password str
- Instance password.
- port float
- Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC.
- role str
- Node role in a distributed database, such as the mongos node in MongoDB.
- subnet_
id str - ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- tmp_
secret_ strid - Temporary SecretId, you can obtain the temporary key by GetFederationToken.
- tmp_
secret_ strkey - Temporary SecretKey, you can obtain the temporary key by GetFederationToken.
- tmp_
token str - Temporary token, you can obtain the temporary key by GetFederationToken.
- uniq_
dcg_ strid - Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg.
- uniq_
vpn_ strgw_ id - VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud.
- user str
- Instance username.
- vpc_
id str - VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- account String
- Instance account.
- account
Mode String - The account to which the resource belongs. Valid values: empty or self (the current account); other (another account).
- account
Role String - The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+.
- ccn
Gw StringId - CCN instance ID such as ccn-afp6kltc.
- cvm
Instance StringId - Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console.
- db
Kernel String - Kernel version, such as the different kernel versions of MariaDB.
- engine
Version String - Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6.
- host String
- Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC.
- instance
Id String - Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb.
- password String
- Instance password.
- port Number
- Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC.
- role String
- Node role in a distributed database, such as the mongos node in MongoDB.
- subnet
Id String - ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- tmp
Secret StringId - Temporary SecretId, you can obtain the temporary key by GetFederationToken.
- tmp
Secret StringKey - Temporary SecretKey, you can obtain the temporary key by GetFederationToken.
- tmp
Token String - Temporary token, you can obtain the temporary key by GetFederationToken.
- uniq
Dcg StringId - Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg.
- uniq
Vpn StringGw Id - VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud.
- user String
- Instance username.
- vpc
Id String - VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg.
DtsMigrateJobMigrateOption, DtsMigrateJobMigrateOptionArgs
- Database
Table DtsMigrate Job Migrate Option Database Table - Migration object option, you need to tell the migration service which library table objects to migrate.
- Consistency
Dts
Migrate Job Migrate Option Consistency - Data consistency check option. Data consistency check is disabled by default.
- Extra
Attrs List<DtsMigrate Job Migrate Option Extra Attr> - Additional information. You can set additional parameters for certain database types.
- Is
Dst boolRead Only - Whether to set the target database to read-only during migration, which takes effect only for MySQL databases. Valid values: true, false. Default value: false.
- Is
Migrate boolAccount - Whether to migrate accounts.
- Is
Override boolRoot - Whether to use the Root account in the source database to overwrite that in the target database. Valid values: false, true. For database/table or structural migration, you should specify false. Note that this parameter takes effect only for OldDTS.
- Migrate
Type string - Migration type. Valid values: full, structure, fullAndIncrement. Default value: fullAndIncrement.
- Database
Table DtsMigrate Job Migrate Option Database Table - Migration object option, you need to tell the migration service which library table objects to migrate.
- Consistency
Dts
Migrate Job Migrate Option Consistency - Data consistency check option. Data consistency check is disabled by default.
- Extra
Attrs []DtsMigrate Job Migrate Option Extra Attr - Additional information. You can set additional parameters for certain database types.
- Is
Dst boolRead Only - Whether to set the target database to read-only during migration, which takes effect only for MySQL databases. Valid values: true, false. Default value: false.
- Is
Migrate boolAccount - Whether to migrate accounts.
- Is
Override boolRoot - Whether to use the Root account in the source database to overwrite that in the target database. Valid values: false, true. For database/table or structural migration, you should specify false. Note that this parameter takes effect only for OldDTS.
- Migrate
Type string - Migration type. Valid values: full, structure, fullAndIncrement. Default value: fullAndIncrement.
- database
Table DtsMigrate Job Migrate Option Database Table - Migration object option, you need to tell the migration service which library table objects to migrate.
- consistency
Dts
Migrate Job Migrate Option Consistency - Data consistency check option. Data consistency check is disabled by default.
- extra
Attrs List<DtsMigrate Job Migrate Option Extra Attr> - Additional information. You can set additional parameters for certain database types.
- is
Dst BooleanRead Only - Whether to set the target database to read-only during migration, which takes effect only for MySQL databases. Valid values: true, false. Default value: false.
- is
Migrate BooleanAccount - Whether to migrate accounts.
- is
Override BooleanRoot - Whether to use the Root account in the source database to overwrite that in the target database. Valid values: false, true. For database/table or structural migration, you should specify false. Note that this parameter takes effect only for OldDTS.
- migrate
Type String - Migration type. Valid values: full, structure, fullAndIncrement. Default value: fullAndIncrement.
- database
Table DtsMigrate Job Migrate Option Database Table - Migration object option, you need to tell the migration service which library table objects to migrate.
- consistency
Dts
Migrate Job Migrate Option Consistency - Data consistency check option. Data consistency check is disabled by default.
- extra
Attrs DtsMigrate Job Migrate Option Extra Attr[] - Additional information. You can set additional parameters for certain database types.
- is
Dst booleanRead Only - Whether to set the target database to read-only during migration, which takes effect only for MySQL databases. Valid values: true, false. Default value: false.
- is
Migrate booleanAccount - Whether to migrate accounts.
- is
Override booleanRoot - Whether to use the Root account in the source database to overwrite that in the target database. Valid values: false, true. For database/table or structural migration, you should specify false. Note that this parameter takes effect only for OldDTS.
- migrate
Type string - Migration type. Valid values: full, structure, fullAndIncrement. Default value: fullAndIncrement.
- database_
table DtsMigrate Job Migrate Option Database Table - Migration object option, you need to tell the migration service which library table objects to migrate.
- consistency
Dts
Migrate Job Migrate Option Consistency - Data consistency check option. Data consistency check is disabled by default.
- extra_
attrs Sequence[DtsMigrate Job Migrate Option Extra Attr] - Additional information. You can set additional parameters for certain database types.
- is_
dst_ boolread_ only - Whether to set the target database to read-only during migration, which takes effect only for MySQL databases. Valid values: true, false. Default value: false.
- is_
migrate_ boolaccount - Whether to migrate accounts.
- is_
override_ boolroot - Whether to use the Root account in the source database to overwrite that in the target database. Valid values: false, true. For database/table or structural migration, you should specify false. Note that this parameter takes effect only for OldDTS.
- migrate_
type str - Migration type. Valid values: full, structure, fullAndIncrement. Default value: fullAndIncrement.
- database
Table Property Map - Migration object option, you need to tell the migration service which library table objects to migrate.
- consistency Property Map
- Data consistency check option. Data consistency check is disabled by default.
- extra
Attrs List<Property Map> - Additional information. You can set additional parameters for certain database types.
- is
Dst BooleanRead Only - Whether to set the target database to read-only during migration, which takes effect only for MySQL databases. Valid values: true, false. Default value: false.
- is
Migrate BooleanAccount - Whether to migrate accounts.
- is
Override BooleanRoot - Whether to use the Root account in the source database to overwrite that in the target database. Valid values: false, true. For database/table or structural migration, you should specify false. Note that this parameter takes effect only for OldDTS.
- migrate
Type String - Migration type. Valid values: full, structure, fullAndIncrement. Default value: fullAndIncrement.
DtsMigrateJobMigrateOptionConsistency, DtsMigrateJobMigrateOptionConsistencyArgs
- Mode string
- Data consistency check type. Valid values: full, noCheck, notConfigured.
- Mode string
- Data consistency check type. Valid values: full, noCheck, notConfigured.
- mode String
- Data consistency check type. Valid values: full, noCheck, notConfigured.
- mode string
- Data consistency check type. Valid values: full, noCheck, notConfigured.
- mode str
- Data consistency check type. Valid values: full, noCheck, notConfigured.
- mode String
- Data consistency check type. Valid values: full, noCheck, notConfigured.
DtsMigrateJobMigrateOptionDatabaseTable, DtsMigrateJobMigrateOptionDatabaseTableArgs
- Object
Mode string - Migration object type. Valid values: all, partial.
- Advanced
Objects List<string> - Advanced object types, such as trigger, function, procedure, event. Note: If you want to migrate and synchronize advanced objects, the corresponding advanced object type should be included in this configuration.
- Databases
List<Dts
Migrate Job Migrate Option Database Table Database> - Migration object, which is required if ObjectMode is partial.
- Object
Mode string - Migration object type. Valid values: all, partial.
- Advanced
Objects []string - Advanced object types, such as trigger, function, procedure, event. Note: If you want to migrate and synchronize advanced objects, the corresponding advanced object type should be included in this configuration.
- Databases
[]Dts
Migrate Job Migrate Option Database Table Database - Migration object, which is required if ObjectMode is partial.
- object
Mode String - Migration object type. Valid values: all, partial.
- advanced
Objects List<String> - Advanced object types, such as trigger, function, procedure, event. Note: If you want to migrate and synchronize advanced objects, the corresponding advanced object type should be included in this configuration.
- databases
List<Dts
Migrate Job Migrate Option Database Table Database> - Migration object, which is required if ObjectMode is partial.
- object
Mode string - Migration object type. Valid values: all, partial.
- advanced
Objects string[] - Advanced object types, such as trigger, function, procedure, event. Note: If you want to migrate and synchronize advanced objects, the corresponding advanced object type should be included in this configuration.
- databases
Dts
Migrate Job Migrate Option Database Table Database[] - Migration object, which is required if ObjectMode is partial.
- object_
mode str - Migration object type. Valid values: all, partial.
- advanced_
objects Sequence[str] - Advanced object types, such as trigger, function, procedure, event. Note: If you want to migrate and synchronize advanced objects, the corresponding advanced object type should be included in this configuration.
- databases
Sequence[Dts
Migrate Job Migrate Option Database Table Database] - Migration object, which is required if ObjectMode is partial.
- object
Mode String - Migration object type. Valid values: all, partial.
- advanced
Objects List<String> - Advanced object types, such as trigger, function, procedure, event. Note: If you want to migrate and synchronize advanced objects, the corresponding advanced object type should be included in this configuration.
- databases List<Property Map>
- Migration object, which is required if ObjectMode is partial.
DtsMigrateJobMigrateOptionDatabaseTableDatabase, DtsMigrateJobMigrateOptionDatabaseTableDatabaseArgs
- Db
Mode string - Database selection mode, which is required if ObjectMode is partial. Valid values: all, partial.
- Db
Name string - Name of the database to be migrated or synced, which is required if ObjectMode is partial.
- Event
Mode string - Sync mode. Valid values: partial, all.
- Events List<string>
- This parameter is required if EventMode is partial.
- Function
Mode string - Sync mode. Valid values: partial, all.
- Functions List<string>
- This parameter is required if FunctionMode is partial.
- New
Db stringName - Name of the database after migration or sync, which is the same as the source database name by default.
- New
Schema stringName - Name of the schema after migration or sync.
- Procedure
Mode string - Sync mode. Valid values: partial, all.
- Procedures List<string>
- This parameter is required if ProcedureMode is partial.
- Role
Mode string - Role selection mode, which is exclusive to PostgreSQL. Valid values: all, partial.
- Roles
List<Dts
Migrate Job Migrate Option Database Table Database Role> - Role, which is exclusive to PostgreSQL and required if RoleMode is partial.
- Schema
Mode string - Schema selection mode. Valid values: all, partial.
- Schema
Name string - The schema to be migrated or synced.
- Table
Mode string - Table selection mode, which is required if DBMode is partial. Valid values: all, partial.
- Tables
List<Dts
Migrate Job Migrate Option Database Table Database Table> - The set of table objects, which is required if TableMode is partial.
- Trigger
Mode string - Sync mode. Valid values: partial, all.
- Triggers List<string>
- This parameter is required if TriggerMode is partial.
- View
Mode string - View selection mode. Valid values: all, partial.
- Views
List<Dts
Migrate Job Migrate Option Database Table Database View> - The set of view objects, which is required if ViewMode is partial.
- Db
Mode string - Database selection mode, which is required if ObjectMode is partial. Valid values: all, partial.
- Db
Name string - Name of the database to be migrated or synced, which is required if ObjectMode is partial.
- Event
Mode string - Sync mode. Valid values: partial, all.
- Events []string
- This parameter is required if EventMode is partial.
- Function
Mode string - Sync mode. Valid values: partial, all.
- Functions []string
- This parameter is required if FunctionMode is partial.
- New
Db stringName - Name of the database after migration or sync, which is the same as the source database name by default.
- New
Schema stringName - Name of the schema after migration or sync.
- Procedure
Mode string - Sync mode. Valid values: partial, all.
- Procedures []string
- This parameter is required if ProcedureMode is partial.
- Role
Mode string - Role selection mode, which is exclusive to PostgreSQL. Valid values: all, partial.
- Roles
[]Dts
Migrate Job Migrate Option Database Table Database Role - Role, which is exclusive to PostgreSQL and required if RoleMode is partial.
- Schema
Mode string - Schema selection mode. Valid values: all, partial.
- Schema
Name string - The schema to be migrated or synced.
- Table
Mode string - Table selection mode, which is required if DBMode is partial. Valid values: all, partial.
- Tables
[]Dts
Migrate Job Migrate Option Database Table Database Table - The set of table objects, which is required if TableMode is partial.
- Trigger
Mode string - Sync mode. Valid values: partial, all.
- Triggers []string
- This parameter is required if TriggerMode is partial.
- View
Mode string - View selection mode. Valid values: all, partial.
- Views
[]Dts
Migrate Job Migrate Option Database Table Database View - The set of view objects, which is required if ViewMode is partial.
- db
Mode String - Database selection mode, which is required if ObjectMode is partial. Valid values: all, partial.
- db
Name String - Name of the database to be migrated or synced, which is required if ObjectMode is partial.
- event
Mode String - Sync mode. Valid values: partial, all.
- events List<String>
- This parameter is required if EventMode is partial.
- function
Mode String - Sync mode. Valid values: partial, all.
- functions List<String>
- This parameter is required if FunctionMode is partial.
- new
Db StringName - Name of the database after migration or sync, which is the same as the source database name by default.
- new
Schema StringName - Name of the schema after migration or sync.
- procedure
Mode String - Sync mode. Valid values: partial, all.
- procedures List<String>
- This parameter is required if ProcedureMode is partial.
- role
Mode String - Role selection mode, which is exclusive to PostgreSQL. Valid values: all, partial.
- roles
List<Dts
Migrate Job Migrate Option Database Table Database Role> - Role, which is exclusive to PostgreSQL and required if RoleMode is partial.
- schema
Mode String - Schema selection mode. Valid values: all, partial.
- schema
Name String - The schema to be migrated or synced.
- table
Mode String - Table selection mode, which is required if DBMode is partial. Valid values: all, partial.
- tables
List<Dts
Migrate Job Migrate Option Database Table Database Table> - The set of table objects, which is required if TableMode is partial.
- trigger
Mode String - Sync mode. Valid values: partial, all.
- triggers List<String>
- This parameter is required if TriggerMode is partial.
- view
Mode String - View selection mode. Valid values: all, partial.
- views
List<Dts
Migrate Job Migrate Option Database Table Database View> - The set of view objects, which is required if ViewMode is partial.
- db
Mode string - Database selection mode, which is required if ObjectMode is partial. Valid values: all, partial.
- db
Name string - Name of the database to be migrated or synced, which is required if ObjectMode is partial.
- event
Mode string - Sync mode. Valid values: partial, all.
- events string[]
- This parameter is required if EventMode is partial.
- function
Mode string - Sync mode. Valid values: partial, all.
- functions string[]
- This parameter is required if FunctionMode is partial.
- new
Db stringName - Name of the database after migration or sync, which is the same as the source database name by default.
- new
Schema stringName - Name of the schema after migration or sync.
- procedure
Mode string - Sync mode. Valid values: partial, all.
- procedures string[]
- This parameter is required if ProcedureMode is partial.
- role
Mode string - Role selection mode, which is exclusive to PostgreSQL. Valid values: all, partial.
- roles
Dts
Migrate Job Migrate Option Database Table Database Role[] - Role, which is exclusive to PostgreSQL and required if RoleMode is partial.
- schema
Mode string - Schema selection mode. Valid values: all, partial.
- schema
Name string - The schema to be migrated or synced.
- table
Mode string - Table selection mode, which is required if DBMode is partial. Valid values: all, partial.
- tables
Dts
Migrate Job Migrate Option Database Table Database Table[] - The set of table objects, which is required if TableMode is partial.
- trigger
Mode string - Sync mode. Valid values: partial, all.
- triggers string[]
- This parameter is required if TriggerMode is partial.
- view
Mode string - View selection mode. Valid values: all, partial.
- views
Dts
Migrate Job Migrate Option Database Table Database View[] - The set of view objects, which is required if ViewMode is partial.
- db_
mode str - Database selection mode, which is required if ObjectMode is partial. Valid values: all, partial.
- db_
name str - Name of the database to be migrated or synced, which is required if ObjectMode is partial.
- event_
mode str - Sync mode. Valid values: partial, all.
- events Sequence[str]
- This parameter is required if EventMode is partial.
- function_
mode str - Sync mode. Valid values: partial, all.
- functions Sequence[str]
- This parameter is required if FunctionMode is partial.
- new_
db_ strname - Name of the database after migration or sync, which is the same as the source database name by default.
- new_
schema_ strname - Name of the schema after migration or sync.
- procedure_
mode str - Sync mode. Valid values: partial, all.
- procedures Sequence[str]
- This parameter is required if ProcedureMode is partial.
- role_
mode str - Role selection mode, which is exclusive to PostgreSQL. Valid values: all, partial.
- roles
Sequence[Dts
Migrate Job Migrate Option Database Table Database Role] - Role, which is exclusive to PostgreSQL and required if RoleMode is partial.
- schema_
mode str - Schema selection mode. Valid values: all, partial.
- schema_
name str - The schema to be migrated or synced.
- table_
mode str - Table selection mode, which is required if DBMode is partial. Valid values: all, partial.
- tables
Sequence[Dts
Migrate Job Migrate Option Database Table Database Table] - The set of table objects, which is required if TableMode is partial.
- trigger_
mode str - Sync mode. Valid values: partial, all.
- triggers Sequence[str]
- This parameter is required if TriggerMode is partial.
- view_
mode str - View selection mode. Valid values: all, partial.
- views
Sequence[Dts
Migrate Job Migrate Option Database Table Database View] - The set of view objects, which is required if ViewMode is partial.
- db
Mode String - Database selection mode, which is required if ObjectMode is partial. Valid values: all, partial.
- db
Name String - Name of the database to be migrated or synced, which is required if ObjectMode is partial.
- event
Mode String - Sync mode. Valid values: partial, all.
- events List<String>
- This parameter is required if EventMode is partial.
- function
Mode String - Sync mode. Valid values: partial, all.
- functions List<String>
- This parameter is required if FunctionMode is partial.
- new
Db StringName - Name of the database after migration or sync, which is the same as the source database name by default.
- new
Schema StringName - Name of the schema after migration or sync.
- procedure
Mode String - Sync mode. Valid values: partial, all.
- procedures List<String>
- This parameter is required if ProcedureMode is partial.
- role
Mode String - Role selection mode, which is exclusive to PostgreSQL. Valid values: all, partial.
- roles List<Property Map>
- Role, which is exclusive to PostgreSQL and required if RoleMode is partial.
- schema
Mode String - Schema selection mode. Valid values: all, partial.
- schema
Name String - The schema to be migrated or synced.
- table
Mode String - Table selection mode, which is required if DBMode is partial. Valid values: all, partial.
- tables List<Property Map>
- The set of table objects, which is required if TableMode is partial.
- trigger
Mode String - Sync mode. Valid values: partial, all.
- triggers List<String>
- This parameter is required if TriggerMode is partial.
- view
Mode String - View selection mode. Valid values: all, partial.
- views List<Property Map>
- The set of view objects, which is required if ViewMode is partial.
DtsMigrateJobMigrateOptionDatabaseTableDatabaseRole, DtsMigrateJobMigrateOptionDatabaseTableDatabaseRoleArgs
- New
Role stringName - Role name after migration.
- Role
Name string - Role name.
- New
Role stringName - Role name after migration.
- Role
Name string - Role name.
- new
Role StringName - Role name after migration.
- role
Name String - Role name.
- new
Role stringName - Role name after migration.
- role
Name string - Role name.
- new_
role_ strname - Role name after migration.
- role_
name str - Role name.
- new
Role StringName - Role name after migration.
- role
Name String - Role name.
DtsMigrateJobMigrateOptionDatabaseTableDatabaseTable, DtsMigrateJobMigrateOptionDatabaseTableDatabaseTableArgs
- New
Table stringName - New name of the migrated table. This parameter is required when TableEditMode is rename. It is mutually exclusive with TmpTables..
- Table
Edit stringMode - Table editing type. Valid values: rename (table mapping); pt (additional table sync).
- Table
Name string - Name of the migrated table, which is case-sensitive.
- Tmp
Tables List<string> - The temp tables to be migrated. This parameter is mutually exclusive with NewTableName. It is valid only when the configured migration objects are table-level ones and TableEditMode is pt. To migrate temp tables generated when pt-osc or other tools are used during the migration process, you must configure this parameter first. For example, if you want to perform the pt-osc operation on a table named 't1', configure this parameter as ['_t1_new','_t1_old']; to perform the gh-ost operation on t1, configure it as ['_t1_ghc','_t1_gho','_t1_del']. Temp tables generated by pt-osc and gh-ost operations can be configured at the same time.
- New
Table stringName - New name of the migrated table. This parameter is required when TableEditMode is rename. It is mutually exclusive with TmpTables..
- Table
Edit stringMode - Table editing type. Valid values: rename (table mapping); pt (additional table sync).
- Table
Name string - Name of the migrated table, which is case-sensitive.
- Tmp
Tables []string - The temp tables to be migrated. This parameter is mutually exclusive with NewTableName. It is valid only when the configured migration objects are table-level ones and TableEditMode is pt. To migrate temp tables generated when pt-osc or other tools are used during the migration process, you must configure this parameter first. For example, if you want to perform the pt-osc operation on a table named 't1', configure this parameter as ['_t1_new','_t1_old']; to perform the gh-ost operation on t1, configure it as ['_t1_ghc','_t1_gho','_t1_del']. Temp tables generated by pt-osc and gh-ost operations can be configured at the same time.
- new
Table StringName - New name of the migrated table. This parameter is required when TableEditMode is rename. It is mutually exclusive with TmpTables..
- table
Edit StringMode - Table editing type. Valid values: rename (table mapping); pt (additional table sync).
- table
Name String - Name of the migrated table, which is case-sensitive.
- tmp
Tables List<String> - The temp tables to be migrated. This parameter is mutually exclusive with NewTableName. It is valid only when the configured migration objects are table-level ones and TableEditMode is pt. To migrate temp tables generated when pt-osc or other tools are used during the migration process, you must configure this parameter first. For example, if you want to perform the pt-osc operation on a table named 't1', configure this parameter as ['_t1_new','_t1_old']; to perform the gh-ost operation on t1, configure it as ['_t1_ghc','_t1_gho','_t1_del']. Temp tables generated by pt-osc and gh-ost operations can be configured at the same time.
- new
Table stringName - New name of the migrated table. This parameter is required when TableEditMode is rename. It is mutually exclusive with TmpTables..
- table
Edit stringMode - Table editing type. Valid values: rename (table mapping); pt (additional table sync).
- table
Name string - Name of the migrated table, which is case-sensitive.
- tmp
Tables string[] - The temp tables to be migrated. This parameter is mutually exclusive with NewTableName. It is valid only when the configured migration objects are table-level ones and TableEditMode is pt. To migrate temp tables generated when pt-osc or other tools are used during the migration process, you must configure this parameter first. For example, if you want to perform the pt-osc operation on a table named 't1', configure this parameter as ['_t1_new','_t1_old']; to perform the gh-ost operation on t1, configure it as ['_t1_ghc','_t1_gho','_t1_del']. Temp tables generated by pt-osc and gh-ost operations can be configured at the same time.
- new_
table_ strname - New name of the migrated table. This parameter is required when TableEditMode is rename. It is mutually exclusive with TmpTables..
- table_
edit_ strmode - Table editing type. Valid values: rename (table mapping); pt (additional table sync).
- table_
name str - Name of the migrated table, which is case-sensitive.
- tmp_
tables Sequence[str] - The temp tables to be migrated. This parameter is mutually exclusive with NewTableName. It is valid only when the configured migration objects are table-level ones and TableEditMode is pt. To migrate temp tables generated when pt-osc or other tools are used during the migration process, you must configure this parameter first. For example, if you want to perform the pt-osc operation on a table named 't1', configure this parameter as ['_t1_new','_t1_old']; to perform the gh-ost operation on t1, configure it as ['_t1_ghc','_t1_gho','_t1_del']. Temp tables generated by pt-osc and gh-ost operations can be configured at the same time.
- new
Table StringName - New name of the migrated table. This parameter is required when TableEditMode is rename. It is mutually exclusive with TmpTables..
- table
Edit StringMode - Table editing type. Valid values: rename (table mapping); pt (additional table sync).
- table
Name String - Name of the migrated table, which is case-sensitive.
- tmp
Tables List<String> - The temp tables to be migrated. This parameter is mutually exclusive with NewTableName. It is valid only when the configured migration objects are table-level ones and TableEditMode is pt. To migrate temp tables generated when pt-osc or other tools are used during the migration process, you must configure this parameter first. For example, if you want to perform the pt-osc operation on a table named 't1', configure this parameter as ['_t1_new','_t1_old']; to perform the gh-ost operation on t1, configure it as ['_t1_ghc','_t1_gho','_t1_del']. Temp tables generated by pt-osc and gh-ost operations can be configured at the same time.
DtsMigrateJobMigrateOptionDatabaseTableDatabaseView, DtsMigrateJobMigrateOptionDatabaseTableDatabaseViewArgs
- New
View stringName - View name after migration.
- View
Name string - View name.
- New
View stringName - View name after migration.
- View
Name string - View name.
- new
View StringName - View name after migration.
- view
Name String - View name.
- new
View stringName - View name after migration.
- view
Name string - View name.
- new_
view_ strname - View name after migration.
- view_
name str - View name.
- new
View StringName - View name after migration.
- view
Name String - View name.
DtsMigrateJobMigrateOptionExtraAttr, DtsMigrateJobMigrateOptionExtraAttrArgs
DtsMigrateJobSrcInfo, DtsMigrateJobSrcInfoArgs
- Access
Type string - Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link.
- Database
Type string - Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona.
- Infos
List<Dts
Migrate Job Src Info Info> - Database information.
- Node
Type string - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).
- Region string
- Instance region.
- Extra
Attrs List<DtsMigrate Job Src Info Extra Attr> - For MongoDB, you can define the following parameters: ['AuthDatabase':'admin', 'AuthFlag': '1', 'AuthMechanism':'SCRAM-SHA-1'].
- Supplier string
- Instance service provider, such as
aliyun
andothers
.
- Access
Type string - Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link.
- Database
Type string - Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona.
- Infos
[]Dts
Migrate Job Src Info Info - Database information.
- Node
Type string - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).
- Region string
- Instance region.
- Extra
Attrs []DtsMigrate Job Src Info Extra Attr - For MongoDB, you can define the following parameters: ['AuthDatabase':'admin', 'AuthFlag': '1', 'AuthMechanism':'SCRAM-SHA-1'].
- Supplier string
- Instance service provider, such as
aliyun
andothers
.
- access
Type String - Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link.
- database
Type String - Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona.
- infos
List<Dts
Migrate Job Src Info Info> - Database information.
- node
Type String - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).
- region String
- Instance region.
- extra
Attrs List<DtsMigrate Job Src Info Extra Attr> - For MongoDB, you can define the following parameters: ['AuthDatabase':'admin', 'AuthFlag': '1', 'AuthMechanism':'SCRAM-SHA-1'].
- supplier String
- Instance service provider, such as
aliyun
andothers
.
- access
Type string - Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link.
- database
Type string - Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona.
- infos
Dts
Migrate Job Src Info Info[] - Database information.
- node
Type string - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).
- region string
- Instance region.
- extra
Attrs DtsMigrate Job Src Info Extra Attr[] - For MongoDB, you can define the following parameters: ['AuthDatabase':'admin', 'AuthFlag': '1', 'AuthMechanism':'SCRAM-SHA-1'].
- supplier string
- Instance service provider, such as
aliyun
andothers
.
- access_
type str - Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link.
- database_
type str - Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona.
- infos
Sequence[Dts
Migrate Job Src Info Info] - Database information.
- node_
type str - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).
- region str
- Instance region.
- extra_
attrs Sequence[DtsMigrate Job Src Info Extra Attr] - For MongoDB, you can define the following parameters: ['AuthDatabase':'admin', 'AuthFlag': '1', 'AuthMechanism':'SCRAM-SHA-1'].
- supplier str
- Instance service provider, such as
aliyun
andothers
.
- access
Type String - Instances network access type. Valid values: extranet (public network); ipv6 (public IPv6); cvm (self-build on CVM); dcg (Direct Connect); vpncloud (VPN access); cdb (database); ccn (CCN); intranet (intranet); vpc (VPC). Note that the valid values are subject to the current link.
- database
Type String - Database type, such as mysql, redis, mongodb, postgresql, mariadb, and percona.
- infos List<Property Map>
- Database information.
- node
Type String - Node type, empty or simple indicates a general node, cluster indicates a cluster node; for mongo services, valid values: replicaset (mongodb replica set), standalone (mongodb single node), cluster (mongodb cluster); for redis instances, valid values: empty or simple (single node), cluster (cluster), cluster-cache (cache cluster), cluster-proxy (proxy cluster).
- region String
- Instance region.
- extra
Attrs List<Property Map> - For MongoDB, you can define the following parameters: ['AuthDatabase':'admin', 'AuthFlag': '1', 'AuthMechanism':'SCRAM-SHA-1'].
- supplier String
- Instance service provider, such as
aliyun
andothers
.
DtsMigrateJobSrcInfoExtraAttr, DtsMigrateJobSrcInfoExtraAttrArgs
DtsMigrateJobSrcInfoInfo, DtsMigrateJobSrcInfoInfoArgs
- Account string
- Instance account.
- Account
Mode string - The account to which the resource belongs. Valid values: empty or self (the current account); other (another account).
- Account
Role string - The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+.
- Ccn
Gw stringId - CCN instance ID such as ccn-afp6kltc.
- Cvm
Instance stringId - Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console.
- Db
Kernel string - Kernel version, such as the different kernel versions of MariaDB.
- Engine
Version string - Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6.
- Host string
- Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC.
- Instance
Id string - Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb.
- Password string
- Instance password.
- Port double
- Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC.
- Role string
- Node role in a distributed database, such as the mongos node in MongoDB.
- Subnet
Id string - ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- Tmp
Secret stringId - Temporary SecretId, you can obtain the temporary key by GetFederationToken.
- Tmp
Secret stringKey - Temporary SecretKey, you can obtain the temporary key by GetFederationToken.
- Tmp
Token string - Temporary token, you can obtain the temporary key by GetFederationToken.
- Uniq
Dcg stringId - Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg.
- Uniq
Vpn stringGw Id - VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud.
- User string
- Instance username.
- Vpc
Id string - VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- Account string
- Instance account.
- Account
Mode string - The account to which the resource belongs. Valid values: empty or self (the current account); other (another account).
- Account
Role string - The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+.
- Ccn
Gw stringId - CCN instance ID such as ccn-afp6kltc.
- Cvm
Instance stringId - Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console.
- Db
Kernel string - Kernel version, such as the different kernel versions of MariaDB.
- Engine
Version string - Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6.
- Host string
- Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC.
- Instance
Id string - Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb.
- Password string
- Instance password.
- Port float64
- Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC.
- Role string
- Node role in a distributed database, such as the mongos node in MongoDB.
- Subnet
Id string - ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- Tmp
Secret stringId - Temporary SecretId, you can obtain the temporary key by GetFederationToken.
- Tmp
Secret stringKey - Temporary SecretKey, you can obtain the temporary key by GetFederationToken.
- Tmp
Token string - Temporary token, you can obtain the temporary key by GetFederationToken.
- Uniq
Dcg stringId - Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg.
- Uniq
Vpn stringGw Id - VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud.
- User string
- Instance username.
- Vpc
Id string - VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- account String
- Instance account.
- account
Mode String - The account to which the resource belongs. Valid values: empty or self (the current account); other (another account).
- account
Role String - The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+.
- ccn
Gw StringId - CCN instance ID such as ccn-afp6kltc.
- cvm
Instance StringId - Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console.
- db
Kernel String - Kernel version, such as the different kernel versions of MariaDB.
- engine
Version String - Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6.
- host String
- Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC.
- instance
Id String - Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb.
- password String
- Instance password.
- port Double
- Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC.
- role String
- Node role in a distributed database, such as the mongos node in MongoDB.
- subnet
Id String - ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- tmp
Secret StringId - Temporary SecretId, you can obtain the temporary key by GetFederationToken.
- tmp
Secret StringKey - Temporary SecretKey, you can obtain the temporary key by GetFederationToken.
- tmp
Token String - Temporary token, you can obtain the temporary key by GetFederationToken.
- uniq
Dcg StringId - Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg.
- uniq
Vpn StringGw Id - VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud.
- user String
- Instance username.
- vpc
Id String - VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- account string
- Instance account.
- account
Mode string - The account to which the resource belongs. Valid values: empty or self (the current account); other (another account).
- account
Role string - The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+.
- ccn
Gw stringId - CCN instance ID such as ccn-afp6kltc.
- cvm
Instance stringId - Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console.
- db
Kernel string - Kernel version, such as the different kernel versions of MariaDB.
- engine
Version string - Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6.
- host string
- Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC.
- instance
Id string - Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb.
- password string
- Instance password.
- port number
- Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC.
- role string
- Node role in a distributed database, such as the mongos node in MongoDB.
- subnet
Id string - ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- tmp
Secret stringId - Temporary SecretId, you can obtain the temporary key by GetFederationToken.
- tmp
Secret stringKey - Temporary SecretKey, you can obtain the temporary key by GetFederationToken.
- tmp
Token string - Temporary token, you can obtain the temporary key by GetFederationToken.
- uniq
Dcg stringId - Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg.
- uniq
Vpn stringGw Id - VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud.
- user string
- Instance username.
- vpc
Id string - VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- account str
- Instance account.
- account_
mode str - The account to which the resource belongs. Valid values: empty or self (the current account); other (another account).
- account_
role str - The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+.
- ccn_
gw_ strid - CCN instance ID such as ccn-afp6kltc.
- cvm_
instance_ strid - Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console.
- db_
kernel str - Kernel version, such as the different kernel versions of MariaDB.
- engine_
version str - Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6.
- host str
- Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC.
- instance_
id str - Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb.
- password str
- Instance password.
- port float
- Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC.
- role str
- Node role in a distributed database, such as the mongos node in MongoDB.
- subnet_
id str - ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- tmp_
secret_ strid - Temporary SecretId, you can obtain the temporary key by GetFederationToken.
- tmp_
secret_ strkey - Temporary SecretKey, you can obtain the temporary key by GetFederationToken.
- tmp_
token str - Temporary token, you can obtain the temporary key by GetFederationToken.
- uniq_
dcg_ strid - Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg.
- uniq_
vpn_ strgw_ id - VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud.
- user str
- Instance username.
- vpc_
id str - VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- account String
- Instance account.
- account
Mode String - The account to which the resource belongs. Valid values: empty or self (the current account); other (another account).
- account
Role String - The role used for cross-account migration, which can contain [a-zA-Z0-9-_]+.
- ccn
Gw StringId - CCN instance ID such as ccn-afp6kltc.
- cvm
Instance StringId - Short CVM instance ID in the format of ins-olgl39y8, which is required if the access type is cvm. It is the same as the instance ID displayed in the CVM console.
- db
Kernel String - Kernel version, such as the different kernel versions of MariaDB.
- engine
Version String - Database version in the format of 5.6 or 5.7, which takes effect only if the instance is an RDS instance. Default value: 5.6.
- host String
- Instance IP address, which is required for the following access types: public network, Direct Connect, VPN, CCN, intranet, and VPC.
- instance
Id String - Database instance ID in the format of cdb-powiqx8q, which is required if the access type is cdb.
- password String
- Instance password.
- port Number
- Instance port, which is required for the following access types: public network, self-build on CVM, Direct Connect, VPN, CCN, intranet, and VPC.
- role String
- Node role in a distributed database, such as the mongos node in MongoDB.
- subnet
Id String - ID of the subnet in the VPC in the format of subnet-3paxmkdz, which is required if the access type is vpc, vpncloud, ccn, or dcg.
- tmp
Secret StringId - Temporary SecretId, you can obtain the temporary key by GetFederationToken.
- tmp
Secret StringKey - Temporary SecretKey, you can obtain the temporary key by GetFederationToken.
- tmp
Token String - Temporary token, you can obtain the temporary key by GetFederationToken.
- uniq
Dcg StringId - Direct Connect gateway ID in the format of dcg-0rxtqqxb, which is required if the access type is dcg.
- uniq
Vpn StringGw Id - VPN gateway ID in the format of vpngw-9ghexg7q, which is required if the access type is vpncloud.
- user String
- Instance username.
- vpc
Id String - VPC ID in the format of vpc-92jblxto, which is required if the access type is vpc, vpncloud, ccn, or dcg.
Import
DTS migrate job can be imported using the id, e.g.
$ pulumi import tencentcloud:index/dtsMigrateJob:DtsMigrateJob example dts-iy98oxba
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.