1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. DrsTaskV3
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.DrsTaskV3

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for DRS task you can get at documentation portal

    Manages DRS task resource within OpenTelekomCloud.

    Example Usage

    Create a DRS task to migrate data to the OpenTelekomCloud RDS database

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const fip1 = new opentelekomcloud.NetworkingFloatingipV2("fip1", {});
    const fip2 = new opentelekomcloud.NetworkingFloatingipV2("fip2", {});
    const mysql1 = new opentelekomcloud.RdsInstanceV3("mysql1", {});
    const mysql2 = new opentelekomcloud.RdsInstanceV3("mysql2", {});
    const test = new opentelekomcloud.DrsTaskV3("test", {
        type: "migration",
        engineType: "mysql",
        direction: "down",
        netType: "eip",
        migrationType: "FULL_TRANS",
        description: "TEST",
        forceDestroy: true,
        sourceDb: {
            engineType: "mysql",
            ip: fip1.address,
            port: 3306,
            user: "root",
            password: "MySql_120521",
            instanceId: mysql1.rdsInstanceV3Id,
            subnetId: data.opentelekomcloud_vpc_subnet_v1.shared_subnet.id,
        },
        destinationDb: {
            engineType: "mysql",
            ip: fip2.address,
            port: 3306,
            user: "root",
            password: "MySql_120521",
            instanceId: mysql2.rdsInstanceV3Id,
            subnetId: data.opentelekomcloud_vpc_subnet_v1.shared_subnet.id,
        },
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    fip1 = opentelekomcloud.NetworkingFloatingipV2("fip1")
    fip2 = opentelekomcloud.NetworkingFloatingipV2("fip2")
    mysql1 = opentelekomcloud.RdsInstanceV3("mysql1")
    mysql2 = opentelekomcloud.RdsInstanceV3("mysql2")
    test = opentelekomcloud.DrsTaskV3("test",
        type="migration",
        engine_type="mysql",
        direction="down",
        net_type="eip",
        migration_type="FULL_TRANS",
        description="TEST",
        force_destroy=True,
        source_db={
            "engine_type": "mysql",
            "ip": fip1.address,
            "port": 3306,
            "user": "root",
            "password": "MySql_120521",
            "instance_id": mysql1.rds_instance_v3_id,
            "subnet_id": data["opentelekomcloud_vpc_subnet_v1"]["shared_subnet"]["id"],
        },
        destination_db={
            "engine_type": "mysql",
            "ip": fip2.address,
            "port": 3306,
            "user": "root",
            "password": "MySql_120521",
            "instance_id": mysql2.rds_instance_v3_id,
            "subnet_id": data["opentelekomcloud_vpc_subnet_v1"]["shared_subnet"]["id"],
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		fip1, err := opentelekomcloud.NewNetworkingFloatingipV2(ctx, "fip1", nil)
    		if err != nil {
    			return err
    		}
    		fip2, err := opentelekomcloud.NewNetworkingFloatingipV2(ctx, "fip2", nil)
    		if err != nil {
    			return err
    		}
    		mysql1, err := opentelekomcloud.NewRdsInstanceV3(ctx, "mysql1", nil)
    		if err != nil {
    			return err
    		}
    		mysql2, err := opentelekomcloud.NewRdsInstanceV3(ctx, "mysql2", nil)
    		if err != nil {
    			return err
    		}
    		_, err = opentelekomcloud.NewDrsTaskV3(ctx, "test", &opentelekomcloud.DrsTaskV3Args{
    			Type:          pulumi.String("migration"),
    			EngineType:    pulumi.String("mysql"),
    			Direction:     pulumi.String("down"),
    			NetType:       pulumi.String("eip"),
    			MigrationType: pulumi.String("FULL_TRANS"),
    			Description:   pulumi.String("TEST"),
    			ForceDestroy:  pulumi.Bool(true),
    			SourceDb: &opentelekomcloud.DrsTaskV3SourceDbArgs{
    				EngineType: pulumi.String("mysql"),
    				Ip:         fip1.Address,
    				Port:       pulumi.Float64(3306),
    				User:       pulumi.String("root"),
    				Password:   pulumi.String("MySql_120521"),
    				InstanceId: mysql1.RdsInstanceV3Id,
    				SubnetId:   pulumi.Any(data.Opentelekomcloud_vpc_subnet_v1.Shared_subnet.Id),
    			},
    			DestinationDb: &opentelekomcloud.DrsTaskV3DestinationDbArgs{
    				EngineType: pulumi.String("mysql"),
    				Ip:         fip2.Address,
    				Port:       pulumi.Float64(3306),
    				User:       pulumi.String("root"),
    				Password:   pulumi.String("MySql_120521"),
    				InstanceId: mysql2.RdsInstanceV3Id,
    				SubnetId:   pulumi.Any(data.Opentelekomcloud_vpc_subnet_v1.Shared_subnet.Id),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var fip1 = new Opentelekomcloud.NetworkingFloatingipV2("fip1");
    
        var fip2 = new Opentelekomcloud.NetworkingFloatingipV2("fip2");
    
        var mysql1 = new Opentelekomcloud.RdsInstanceV3("mysql1");
    
        var mysql2 = new Opentelekomcloud.RdsInstanceV3("mysql2");
    
        var test = new Opentelekomcloud.DrsTaskV3("test", new()
        {
            Type = "migration",
            EngineType = "mysql",
            Direction = "down",
            NetType = "eip",
            MigrationType = "FULL_TRANS",
            Description = "TEST",
            ForceDestroy = true,
            SourceDb = new Opentelekomcloud.Inputs.DrsTaskV3SourceDbArgs
            {
                EngineType = "mysql",
                Ip = fip1.Address,
                Port = 3306,
                User = "root",
                Password = "MySql_120521",
                InstanceId = mysql1.RdsInstanceV3Id,
                SubnetId = data.Opentelekomcloud_vpc_subnet_v1.Shared_subnet.Id,
            },
            DestinationDb = new Opentelekomcloud.Inputs.DrsTaskV3DestinationDbArgs
            {
                EngineType = "mysql",
                Ip = fip2.Address,
                Port = 3306,
                User = "root",
                Password = "MySql_120521",
                InstanceId = mysql2.RdsInstanceV3Id,
                SubnetId = data.Opentelekomcloud_vpc_subnet_v1.Shared_subnet.Id,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.NetworkingFloatingipV2;
    import com.pulumi.opentelekomcloud.RdsInstanceV3;
    import com.pulumi.opentelekomcloud.DrsTaskV3;
    import com.pulumi.opentelekomcloud.DrsTaskV3Args;
    import com.pulumi.opentelekomcloud.inputs.DrsTaskV3SourceDbArgs;
    import com.pulumi.opentelekomcloud.inputs.DrsTaskV3DestinationDbArgs;
    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 fip1 = new NetworkingFloatingipV2("fip1");
    
            var fip2 = new NetworkingFloatingipV2("fip2");
    
            var mysql1 = new RdsInstanceV3("mysql1");
    
            var mysql2 = new RdsInstanceV3("mysql2");
    
            var test = new DrsTaskV3("test", DrsTaskV3Args.builder()
                .type("migration")
                .engineType("mysql")
                .direction("down")
                .netType("eip")
                .migrationType("FULL_TRANS")
                .description("TEST")
                .forceDestroy("true")
                .sourceDb(DrsTaskV3SourceDbArgs.builder()
                    .engineType("mysql")
                    .ip(fip1.address())
                    .port("3306")
                    .user("root")
                    .password("MySql_120521")
                    .instanceId(mysql1.rdsInstanceV3Id())
                    .subnetId(data.opentelekomcloud_vpc_subnet_v1().shared_subnet().id())
                    .build())
                .destinationDb(DrsTaskV3DestinationDbArgs.builder()
                    .engineType("mysql")
                    .ip(fip2.address())
                    .port(3306)
                    .user("root")
                    .password("MySql_120521")
                    .instanceId(mysql2.rdsInstanceV3Id())
                    .subnetId(data.opentelekomcloud_vpc_subnet_v1().shared_subnet().id())
                    .build())
                .build());
    
        }
    }
    
    resources:
      fip1:
        type: opentelekomcloud:NetworkingFloatingipV2
      fip2:
        type: opentelekomcloud:NetworkingFloatingipV2
      mysql1:
        type: opentelekomcloud:RdsInstanceV3
      mysql2:
        type: opentelekomcloud:RdsInstanceV3
      test:
        type: opentelekomcloud:DrsTaskV3
        properties:
          type: migration
          engineType: mysql
          direction: down
          netType: eip
          migrationType: FULL_TRANS
          description: TEST
          forceDestroy: 'true'
          sourceDb:
            engineType: mysql
            ip: ${fip1.address}
            port: '3306'
            user: root
            password: MySql_120521
            instanceId: ${mysql1.rdsInstanceV3Id}
            subnetId: ${data.opentelekomcloud_vpc_subnet_v1.shared_subnet.id}
          destinationDb:
            engineType: mysql
            ip: ${fip2.address}
            port: 3306
            user: root
            password: MySql_120521
            instanceId: ${mysql2.rdsInstanceV3Id}
            subnetId: ${data.opentelekomcloud_vpc_subnet_v1.shared_subnet.id}
    

    Create DrsTaskV3 Resource

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

    Constructor syntax

    new DrsTaskV3(name: string, args: DrsTaskV3Args, opts?: CustomResourceOptions);
    @overload
    def DrsTaskV3(resource_name: str,
                  args: DrsTaskV3Args,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def DrsTaskV3(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  source_db: Optional[DrsTaskV3SourceDbArgs] = None,
                  destination_db: Optional[DrsTaskV3DestinationDbArgs] = None,
                  type: Optional[str] = None,
                  direction: Optional[str] = None,
                  engine_type: Optional[str] = None,
                  net_type: Optional[str] = None,
                  description: Optional[str] = None,
                  force_destroy: Optional[bool] = None,
                  migrate_definer: Optional[bool] = None,
                  limit_speeds: Optional[Sequence[DrsTaskV3LimitSpeedArgs]] = None,
                  drs_task_v3_id: Optional[str] = None,
                  expired_days: Optional[float] = None,
                  multi_write: Optional[bool] = None,
                  name: Optional[str] = None,
                  node_num: Optional[float] = None,
                  migration_type: Optional[str] = None,
                  start_time: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None,
                  timeouts: Optional[DrsTaskV3TimeoutsArgs] = None,
                  destination_db_readonly: Optional[bool] = None)
    func NewDrsTaskV3(ctx *Context, name string, args DrsTaskV3Args, opts ...ResourceOption) (*DrsTaskV3, error)
    public DrsTaskV3(string name, DrsTaskV3Args args, CustomResourceOptions? opts = null)
    public DrsTaskV3(String name, DrsTaskV3Args args)
    public DrsTaskV3(String name, DrsTaskV3Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:DrsTaskV3
    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 DrsTaskV3Args
    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 DrsTaskV3Args
    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 DrsTaskV3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DrsTaskV3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DrsTaskV3Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var drsTaskV3Resource = new Opentelekomcloud.DrsTaskV3("drsTaskV3Resource", new()
    {
        SourceDb = new Opentelekomcloud.Inputs.DrsTaskV3SourceDbArgs
        {
            Port = 0,
            User = "string",
            Ip = "string",
            EngineType = "string",
            Password = "string",
            PrivateIp = "string",
            Name = "string",
            Region = "string",
            SslCertCheckSum = "string",
            SslCertKey = "string",
            SslCertName = "string",
            SslCertPassword = "string",
            SslEnabled = false,
            SubnetId = "string",
            InstanceId = "string",
        },
        DestinationDb = new Opentelekomcloud.Inputs.DrsTaskV3DestinationDbArgs
        {
            Port = 0,
            User = "string",
            Ip = "string",
            EngineType = "string",
            Password = "string",
            PrivateIp = "string",
            Name = "string",
            Region = "string",
            SslCertCheckSum = "string",
            SslCertKey = "string",
            SslCertName = "string",
            SslCertPassword = "string",
            SslEnabled = false,
            SubnetId = "string",
            InstanceId = "string",
        },
        Type = "string",
        Direction = "string",
        EngineType = "string",
        NetType = "string",
        Description = "string",
        ForceDestroy = false,
        MigrateDefiner = false,
        LimitSpeeds = new[]
        {
            new Opentelekomcloud.Inputs.DrsTaskV3LimitSpeedArgs
            {
                EndTime = "string",
                Speed = "string",
                StartTime = "string",
            },
        },
        DrsTaskV3Id = "string",
        ExpiredDays = 0,
        MultiWrite = false,
        Name = "string",
        NodeNum = 0,
        MigrationType = "string",
        StartTime = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Opentelekomcloud.Inputs.DrsTaskV3TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
        DestinationDbReadonly = false,
    });
    
    example, err := opentelekomcloud.NewDrsTaskV3(ctx, "drsTaskV3Resource", &opentelekomcloud.DrsTaskV3Args{
    	SourceDb: &opentelekomcloud.DrsTaskV3SourceDbArgs{
    		Port:            pulumi.Float64(0),
    		User:            pulumi.String("string"),
    		Ip:              pulumi.String("string"),
    		EngineType:      pulumi.String("string"),
    		Password:        pulumi.String("string"),
    		PrivateIp:       pulumi.String("string"),
    		Name:            pulumi.String("string"),
    		Region:          pulumi.String("string"),
    		SslCertCheckSum: pulumi.String("string"),
    		SslCertKey:      pulumi.String("string"),
    		SslCertName:     pulumi.String("string"),
    		SslCertPassword: pulumi.String("string"),
    		SslEnabled:      pulumi.Bool(false),
    		SubnetId:        pulumi.String("string"),
    		InstanceId:      pulumi.String("string"),
    	},
    	DestinationDb: &opentelekomcloud.DrsTaskV3DestinationDbArgs{
    		Port:            pulumi.Float64(0),
    		User:            pulumi.String("string"),
    		Ip:              pulumi.String("string"),
    		EngineType:      pulumi.String("string"),
    		Password:        pulumi.String("string"),
    		PrivateIp:       pulumi.String("string"),
    		Name:            pulumi.String("string"),
    		Region:          pulumi.String("string"),
    		SslCertCheckSum: pulumi.String("string"),
    		SslCertKey:      pulumi.String("string"),
    		SslCertName:     pulumi.String("string"),
    		SslCertPassword: pulumi.String("string"),
    		SslEnabled:      pulumi.Bool(false),
    		SubnetId:        pulumi.String("string"),
    		InstanceId:      pulumi.String("string"),
    	},
    	Type:           pulumi.String("string"),
    	Direction:      pulumi.String("string"),
    	EngineType:     pulumi.String("string"),
    	NetType:        pulumi.String("string"),
    	Description:    pulumi.String("string"),
    	ForceDestroy:   pulumi.Bool(false),
    	MigrateDefiner: pulumi.Bool(false),
    	LimitSpeeds: opentelekomcloud.DrsTaskV3LimitSpeedArray{
    		&opentelekomcloud.DrsTaskV3LimitSpeedArgs{
    			EndTime:   pulumi.String("string"),
    			Speed:     pulumi.String("string"),
    			StartTime: pulumi.String("string"),
    		},
    	},
    	DrsTaskV3Id:   pulumi.String("string"),
    	ExpiredDays:   pulumi.Float64(0),
    	MultiWrite:    pulumi.Bool(false),
    	Name:          pulumi.String("string"),
    	NodeNum:       pulumi.Float64(0),
    	MigrationType: pulumi.String("string"),
    	StartTime:     pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &opentelekomcloud.DrsTaskV3TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    	DestinationDbReadonly: pulumi.Bool(false),
    })
    
    var drsTaskV3Resource = new DrsTaskV3("drsTaskV3Resource", DrsTaskV3Args.builder()
        .sourceDb(DrsTaskV3SourceDbArgs.builder()
            .port(0)
            .user("string")
            .ip("string")
            .engineType("string")
            .password("string")
            .privateIp("string")
            .name("string")
            .region("string")
            .sslCertCheckSum("string")
            .sslCertKey("string")
            .sslCertName("string")
            .sslCertPassword("string")
            .sslEnabled(false)
            .subnetId("string")
            .instanceId("string")
            .build())
        .destinationDb(DrsTaskV3DestinationDbArgs.builder()
            .port(0)
            .user("string")
            .ip("string")
            .engineType("string")
            .password("string")
            .privateIp("string")
            .name("string")
            .region("string")
            .sslCertCheckSum("string")
            .sslCertKey("string")
            .sslCertName("string")
            .sslCertPassword("string")
            .sslEnabled(false)
            .subnetId("string")
            .instanceId("string")
            .build())
        .type("string")
        .direction("string")
        .engineType("string")
        .netType("string")
        .description("string")
        .forceDestroy(false)
        .migrateDefiner(false)
        .limitSpeeds(DrsTaskV3LimitSpeedArgs.builder()
            .endTime("string")
            .speed("string")
            .startTime("string")
            .build())
        .drsTaskV3Id("string")
        .expiredDays(0)
        .multiWrite(false)
        .name("string")
        .nodeNum(0)
        .migrationType("string")
        .startTime("string")
        .tags(Map.of("string", "string"))
        .timeouts(DrsTaskV3TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .destinationDbReadonly(false)
        .build());
    
    drs_task_v3_resource = opentelekomcloud.DrsTaskV3("drsTaskV3Resource",
        source_db={
            "port": 0,
            "user": "string",
            "ip": "string",
            "engine_type": "string",
            "password": "string",
            "private_ip": "string",
            "name": "string",
            "region": "string",
            "ssl_cert_check_sum": "string",
            "ssl_cert_key": "string",
            "ssl_cert_name": "string",
            "ssl_cert_password": "string",
            "ssl_enabled": False,
            "subnet_id": "string",
            "instance_id": "string",
        },
        destination_db={
            "port": 0,
            "user": "string",
            "ip": "string",
            "engine_type": "string",
            "password": "string",
            "private_ip": "string",
            "name": "string",
            "region": "string",
            "ssl_cert_check_sum": "string",
            "ssl_cert_key": "string",
            "ssl_cert_name": "string",
            "ssl_cert_password": "string",
            "ssl_enabled": False,
            "subnet_id": "string",
            "instance_id": "string",
        },
        type="string",
        direction="string",
        engine_type="string",
        net_type="string",
        description="string",
        force_destroy=False,
        migrate_definer=False,
        limit_speeds=[{
            "end_time": "string",
            "speed": "string",
            "start_time": "string",
        }],
        drs_task_v3_id="string",
        expired_days=0,
        multi_write=False,
        name="string",
        node_num=0,
        migration_type="string",
        start_time="string",
        tags={
            "string": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
        },
        destination_db_readonly=False)
    
    const drsTaskV3Resource = new opentelekomcloud.DrsTaskV3("drsTaskV3Resource", {
        sourceDb: {
            port: 0,
            user: "string",
            ip: "string",
            engineType: "string",
            password: "string",
            privateIp: "string",
            name: "string",
            region: "string",
            sslCertCheckSum: "string",
            sslCertKey: "string",
            sslCertName: "string",
            sslCertPassword: "string",
            sslEnabled: false,
            subnetId: "string",
            instanceId: "string",
        },
        destinationDb: {
            port: 0,
            user: "string",
            ip: "string",
            engineType: "string",
            password: "string",
            privateIp: "string",
            name: "string",
            region: "string",
            sslCertCheckSum: "string",
            sslCertKey: "string",
            sslCertName: "string",
            sslCertPassword: "string",
            sslEnabled: false,
            subnetId: "string",
            instanceId: "string",
        },
        type: "string",
        direction: "string",
        engineType: "string",
        netType: "string",
        description: "string",
        forceDestroy: false,
        migrateDefiner: false,
        limitSpeeds: [{
            endTime: "string",
            speed: "string",
            startTime: "string",
        }],
        drsTaskV3Id: "string",
        expiredDays: 0,
        multiWrite: false,
        name: "string",
        nodeNum: 0,
        migrationType: "string",
        startTime: "string",
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
        },
        destinationDbReadonly: false,
    });
    
    type: opentelekomcloud:DrsTaskV3
    properties:
        description: string
        destinationDb:
            engineType: string
            instanceId: string
            ip: string
            name: string
            password: string
            port: 0
            privateIp: string
            region: string
            sslCertCheckSum: string
            sslCertKey: string
            sslCertName: string
            sslCertPassword: string
            sslEnabled: false
            subnetId: string
            user: string
        destinationDbReadonly: false
        direction: string
        drsTaskV3Id: string
        engineType: string
        expiredDays: 0
        forceDestroy: false
        limitSpeeds:
            - endTime: string
              speed: string
              startTime: string
        migrateDefiner: false
        migrationType: string
        multiWrite: false
        name: string
        netType: string
        nodeNum: 0
        sourceDb:
            engineType: string
            instanceId: string
            ip: string
            name: string
            password: string
            port: 0
            privateIp: string
            region: string
            sslCertCheckSum: string
            sslCertKey: string
            sslCertName: string
            sslCertPassword: string
            sslEnabled: false
            subnetId: string
            user: string
        startTime: string
        tags:
            string: string
        timeouts:
            create: string
            delete: string
        type: string
    

    DrsTaskV3 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 DrsTaskV3 resource accepts the following input properties:

    DestinationDb DrsTaskV3DestinationDb
    Specifies the destination database configuration. The db_info object structure of the destination_db is documented below. Changing this parameter will create a new resource.
    Direction string
    Specifies the direction of data flow. Changing this parameter will create a new resource. The options are as follows:

    • up: To the cloud. The destination database must be a database in the current cloud.
    • down: Out of the cloud. The source database must be a database in the current cloud.
    • non-dbs: self-built database.
    EngineType string
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    SourceDb DrsTaskV3SourceDb
    Specifies the source database configuration. The db_info object structure of the source_db is documented below. Changing this parameter will create a new resource.
    Type string
    Specifies the job type. Changing this parameter will create a new resource. The options are as follows:

    • migration: Online Migration.
    • sync: Data Synchronization.
    • cloudDataGuard: Disaster Recovery.
    Description string
    Specifies the description of the job, which contain a maximum of 256 characters, and certain special characters (including !<>&'"\) are not allowed.
    DestinationDbReadonly bool
    Specifies the destination DB instance as read-only helps ensure the migration is successful. Once the migration is complete, the DB instance automatically changes to Read/Write. The default value is true. Changing this parameter will create a new resource.
    DrsTaskV3Id string
    The resource ID in UUID format.
    ExpiredDays double
    Specifies how many days after the task is abnormal, it will automatically end. The value ranges from 14 to 100. the default value is 14. Changing this parameter will create a new resource.
    ForceDestroy bool
    Specifies whether to forcibly destroy the job even if it is running. The default value is false.
    LimitSpeeds List<DrsTaskV3LimitSpeed>
    Specifies the migration speed by setting a time period. The default is no speed limit. The maximum length is 3. Structure is documented below. Changing this parameter will create a new resource.
    MigrateDefiner bool
    Specifies whether to migrate the definers of all source database objects to the user of destination_db. The default value is true. Changing this parameter will create a new resource.
    MigrationType string

    Specifies migration type. Changing this parameter will create a new resource. The options are as follows:

    • FULL_TRANS: Full migration. Suitable for scenarios where services can be interrupted. It migrates all database objects and data, in a non-system database, to a destination database at a time.
    • INCR_TRANS: Incremental migration. Suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.
    • FULL_INCR_TRANS: Full+Incremental migration. This allows to migrate data with minimal downtime. After a full migration initializes the destination database, an incremental migration parses logs to ensure data consistency between the source and destination databases.

    The default value is FULL_INCR_TRANS.

    MultiWrite bool
    Specifies whether to enable multi write. It is mandatory when type is cloudDataGuard. When the disaster recovery type is dual-active disaster recovery, set multi_write to true, otherwise to false. The default value is false. Changing this parameter will create a new resource.
    Name string
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    NetType string

    Specifies the network type. Changing this parameter will create a new resource. The options are as follows:

    • eip: suitable for migration from an on-premises or other cloud database to a destination cloud database. An EIP will be automatically bound to the replication instance and released after the replication task is complete.
    • vpc: suitable for migration from one cloud database to another.
    • vpn: suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.

    The default value is eip.

    NodeNum double
    StartTime string
    Specifies the time to start the job. The time format is yyyy-MM-dd HH:mm:ss. Start immediately by default. Changing this parameter will create a new resource.
    Tags Dictionary<string, string>
    Specifies the key/value pairs to associate with the DRS job. Changing this parameter will create a new resource.
    Timeouts DrsTaskV3Timeouts
    DestinationDb DrsTaskV3DestinationDbArgs
    Specifies the destination database configuration. The db_info object structure of the destination_db is documented below. Changing this parameter will create a new resource.
    Direction string
    Specifies the direction of data flow. Changing this parameter will create a new resource. The options are as follows:

    • up: To the cloud. The destination database must be a database in the current cloud.
    • down: Out of the cloud. The source database must be a database in the current cloud.
    • non-dbs: self-built database.
    EngineType string
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    SourceDb DrsTaskV3SourceDbArgs
    Specifies the source database configuration. The db_info object structure of the source_db is documented below. Changing this parameter will create a new resource.
    Type string
    Specifies the job type. Changing this parameter will create a new resource. The options are as follows:

    • migration: Online Migration.
    • sync: Data Synchronization.
    • cloudDataGuard: Disaster Recovery.
    Description string
    Specifies the description of the job, which contain a maximum of 256 characters, and certain special characters (including !<>&'"\) are not allowed.
    DestinationDbReadonly bool
    Specifies the destination DB instance as read-only helps ensure the migration is successful. Once the migration is complete, the DB instance automatically changes to Read/Write. The default value is true. Changing this parameter will create a new resource.
    DrsTaskV3Id string
    The resource ID in UUID format.
    ExpiredDays float64
    Specifies how many days after the task is abnormal, it will automatically end. The value ranges from 14 to 100. the default value is 14. Changing this parameter will create a new resource.
    ForceDestroy bool
    Specifies whether to forcibly destroy the job even if it is running. The default value is false.
    LimitSpeeds []DrsTaskV3LimitSpeedArgs
    Specifies the migration speed by setting a time period. The default is no speed limit. The maximum length is 3. Structure is documented below. Changing this parameter will create a new resource.
    MigrateDefiner bool
    Specifies whether to migrate the definers of all source database objects to the user of destination_db. The default value is true. Changing this parameter will create a new resource.
    MigrationType string

    Specifies migration type. Changing this parameter will create a new resource. The options are as follows:

    • FULL_TRANS: Full migration. Suitable for scenarios where services can be interrupted. It migrates all database objects and data, in a non-system database, to a destination database at a time.
    • INCR_TRANS: Incremental migration. Suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.
    • FULL_INCR_TRANS: Full+Incremental migration. This allows to migrate data with minimal downtime. After a full migration initializes the destination database, an incremental migration parses logs to ensure data consistency between the source and destination databases.

    The default value is FULL_INCR_TRANS.

    MultiWrite bool
    Specifies whether to enable multi write. It is mandatory when type is cloudDataGuard. When the disaster recovery type is dual-active disaster recovery, set multi_write to true, otherwise to false. The default value is false. Changing this parameter will create a new resource.
    Name string
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    NetType string

    Specifies the network type. Changing this parameter will create a new resource. The options are as follows:

    • eip: suitable for migration from an on-premises or other cloud database to a destination cloud database. An EIP will be automatically bound to the replication instance and released after the replication task is complete.
    • vpc: suitable for migration from one cloud database to another.
    • vpn: suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.

    The default value is eip.

    NodeNum float64
    StartTime string
    Specifies the time to start the job. The time format is yyyy-MM-dd HH:mm:ss. Start immediately by default. Changing this parameter will create a new resource.
    Tags map[string]string
    Specifies the key/value pairs to associate with the DRS job. Changing this parameter will create a new resource.
    Timeouts DrsTaskV3TimeoutsArgs
    destinationDb DrsTaskV3DestinationDb
    Specifies the destination database configuration. The db_info object structure of the destination_db is documented below. Changing this parameter will create a new resource.
    direction String
    Specifies the direction of data flow. Changing this parameter will create a new resource. The options are as follows:

    • up: To the cloud. The destination database must be a database in the current cloud.
    • down: Out of the cloud. The source database must be a database in the current cloud.
    • non-dbs: self-built database.
    engineType String
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    sourceDb DrsTaskV3SourceDb
    Specifies the source database configuration. The db_info object structure of the source_db is documented below. Changing this parameter will create a new resource.
    type String
    Specifies the job type. Changing this parameter will create a new resource. The options are as follows:

    • migration: Online Migration.
    • sync: Data Synchronization.
    • cloudDataGuard: Disaster Recovery.
    description String
    Specifies the description of the job, which contain a maximum of 256 characters, and certain special characters (including !<>&'"\) are not allowed.
    destinationDbReadonly Boolean
    Specifies the destination DB instance as read-only helps ensure the migration is successful. Once the migration is complete, the DB instance automatically changes to Read/Write. The default value is true. Changing this parameter will create a new resource.
    drsTaskV3Id String
    The resource ID in UUID format.
    expiredDays Double
    Specifies how many days after the task is abnormal, it will automatically end. The value ranges from 14 to 100. the default value is 14. Changing this parameter will create a new resource.
    forceDestroy Boolean
    Specifies whether to forcibly destroy the job even if it is running. The default value is false.
    limitSpeeds List<DrsTaskV3LimitSpeed>
    Specifies the migration speed by setting a time period. The default is no speed limit. The maximum length is 3. Structure is documented below. Changing this parameter will create a new resource.
    migrateDefiner Boolean
    Specifies whether to migrate the definers of all source database objects to the user of destination_db. The default value is true. Changing this parameter will create a new resource.
    migrationType String

    Specifies migration type. Changing this parameter will create a new resource. The options are as follows:

    • FULL_TRANS: Full migration. Suitable for scenarios where services can be interrupted. It migrates all database objects and data, in a non-system database, to a destination database at a time.
    • INCR_TRANS: Incremental migration. Suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.
    • FULL_INCR_TRANS: Full+Incremental migration. This allows to migrate data with minimal downtime. After a full migration initializes the destination database, an incremental migration parses logs to ensure data consistency between the source and destination databases.

    The default value is FULL_INCR_TRANS.

    multiWrite Boolean
    Specifies whether to enable multi write. It is mandatory when type is cloudDataGuard. When the disaster recovery type is dual-active disaster recovery, set multi_write to true, otherwise to false. The default value is false. Changing this parameter will create a new resource.
    name String
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    netType String

    Specifies the network type. Changing this parameter will create a new resource. The options are as follows:

    • eip: suitable for migration from an on-premises or other cloud database to a destination cloud database. An EIP will be automatically bound to the replication instance and released after the replication task is complete.
    • vpc: suitable for migration from one cloud database to another.
    • vpn: suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.

    The default value is eip.

    nodeNum Double
    startTime String
    Specifies the time to start the job. The time format is yyyy-MM-dd HH:mm:ss. Start immediately by default. Changing this parameter will create a new resource.
    tags Map<String,String>
    Specifies the key/value pairs to associate with the DRS job. Changing this parameter will create a new resource.
    timeouts DrsTaskV3Timeouts
    destinationDb DrsTaskV3DestinationDb
    Specifies the destination database configuration. The db_info object structure of the destination_db is documented below. Changing this parameter will create a new resource.
    direction string
    Specifies the direction of data flow. Changing this parameter will create a new resource. The options are as follows:

    • up: To the cloud. The destination database must be a database in the current cloud.
    • down: Out of the cloud. The source database must be a database in the current cloud.
    • non-dbs: self-built database.
    engineType string
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    sourceDb DrsTaskV3SourceDb
    Specifies the source database configuration. The db_info object structure of the source_db is documented below. Changing this parameter will create a new resource.
    type string
    Specifies the job type. Changing this parameter will create a new resource. The options are as follows:

    • migration: Online Migration.
    • sync: Data Synchronization.
    • cloudDataGuard: Disaster Recovery.
    description string
    Specifies the description of the job, which contain a maximum of 256 characters, and certain special characters (including !<>&'"\) are not allowed.
    destinationDbReadonly boolean
    Specifies the destination DB instance as read-only helps ensure the migration is successful. Once the migration is complete, the DB instance automatically changes to Read/Write. The default value is true. Changing this parameter will create a new resource.
    drsTaskV3Id string
    The resource ID in UUID format.
    expiredDays number
    Specifies how many days after the task is abnormal, it will automatically end. The value ranges from 14 to 100. the default value is 14. Changing this parameter will create a new resource.
    forceDestroy boolean
    Specifies whether to forcibly destroy the job even if it is running. The default value is false.
    limitSpeeds DrsTaskV3LimitSpeed[]
    Specifies the migration speed by setting a time period. The default is no speed limit. The maximum length is 3. Structure is documented below. Changing this parameter will create a new resource.
    migrateDefiner boolean
    Specifies whether to migrate the definers of all source database objects to the user of destination_db. The default value is true. Changing this parameter will create a new resource.
    migrationType string

    Specifies migration type. Changing this parameter will create a new resource. The options are as follows:

    • FULL_TRANS: Full migration. Suitable for scenarios where services can be interrupted. It migrates all database objects and data, in a non-system database, to a destination database at a time.
    • INCR_TRANS: Incremental migration. Suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.
    • FULL_INCR_TRANS: Full+Incremental migration. This allows to migrate data with minimal downtime. After a full migration initializes the destination database, an incremental migration parses logs to ensure data consistency between the source and destination databases.

    The default value is FULL_INCR_TRANS.

    multiWrite boolean
    Specifies whether to enable multi write. It is mandatory when type is cloudDataGuard. When the disaster recovery type is dual-active disaster recovery, set multi_write to true, otherwise to false. The default value is false. Changing this parameter will create a new resource.
    name string
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    netType string

    Specifies the network type. Changing this parameter will create a new resource. The options are as follows:

    • eip: suitable for migration from an on-premises or other cloud database to a destination cloud database. An EIP will be automatically bound to the replication instance and released after the replication task is complete.
    • vpc: suitable for migration from one cloud database to another.
    • vpn: suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.

    The default value is eip.

    nodeNum number
    startTime string
    Specifies the time to start the job. The time format is yyyy-MM-dd HH:mm:ss. Start immediately by default. Changing this parameter will create a new resource.
    tags {[key: string]: string}
    Specifies the key/value pairs to associate with the DRS job. Changing this parameter will create a new resource.
    timeouts DrsTaskV3Timeouts
    destination_db DrsTaskV3DestinationDbArgs
    Specifies the destination database configuration. The db_info object structure of the destination_db is documented below. Changing this parameter will create a new resource.
    direction str
    Specifies the direction of data flow. Changing this parameter will create a new resource. The options are as follows:

    • up: To the cloud. The destination database must be a database in the current cloud.
    • down: Out of the cloud. The source database must be a database in the current cloud.
    • non-dbs: self-built database.
    engine_type str
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    source_db DrsTaskV3SourceDbArgs
    Specifies the source database configuration. The db_info object structure of the source_db is documented below. Changing this parameter will create a new resource.
    type str
    Specifies the job type. Changing this parameter will create a new resource. The options are as follows:

    • migration: Online Migration.
    • sync: Data Synchronization.
    • cloudDataGuard: Disaster Recovery.
    description str
    Specifies the description of the job, which contain a maximum of 256 characters, and certain special characters (including !<>&'"\) are not allowed.
    destination_db_readonly bool
    Specifies the destination DB instance as read-only helps ensure the migration is successful. Once the migration is complete, the DB instance automatically changes to Read/Write. The default value is true. Changing this parameter will create a new resource.
    drs_task_v3_id str
    The resource ID in UUID format.
    expired_days float
    Specifies how many days after the task is abnormal, it will automatically end. The value ranges from 14 to 100. the default value is 14. Changing this parameter will create a new resource.
    force_destroy bool
    Specifies whether to forcibly destroy the job even if it is running. The default value is false.
    limit_speeds Sequence[DrsTaskV3LimitSpeedArgs]
    Specifies the migration speed by setting a time period. The default is no speed limit. The maximum length is 3. Structure is documented below. Changing this parameter will create a new resource.
    migrate_definer bool
    Specifies whether to migrate the definers of all source database objects to the user of destination_db. The default value is true. Changing this parameter will create a new resource.
    migration_type str

    Specifies migration type. Changing this parameter will create a new resource. The options are as follows:

    • FULL_TRANS: Full migration. Suitable for scenarios where services can be interrupted. It migrates all database objects and data, in a non-system database, to a destination database at a time.
    • INCR_TRANS: Incremental migration. Suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.
    • FULL_INCR_TRANS: Full+Incremental migration. This allows to migrate data with minimal downtime. After a full migration initializes the destination database, an incremental migration parses logs to ensure data consistency between the source and destination databases.

    The default value is FULL_INCR_TRANS.

    multi_write bool
    Specifies whether to enable multi write. It is mandatory when type is cloudDataGuard. When the disaster recovery type is dual-active disaster recovery, set multi_write to true, otherwise to false. The default value is false. Changing this parameter will create a new resource.
    name str
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    net_type str

    Specifies the network type. Changing this parameter will create a new resource. The options are as follows:

    • eip: suitable for migration from an on-premises or other cloud database to a destination cloud database. An EIP will be automatically bound to the replication instance and released after the replication task is complete.
    • vpc: suitable for migration from one cloud database to another.
    • vpn: suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.

    The default value is eip.

    node_num float
    start_time str
    Specifies the time to start the job. The time format is yyyy-MM-dd HH:mm:ss. Start immediately by default. Changing this parameter will create a new resource.
    tags Mapping[str, str]
    Specifies the key/value pairs to associate with the DRS job. Changing this parameter will create a new resource.
    timeouts DrsTaskV3TimeoutsArgs
    destinationDb Property Map
    Specifies the destination database configuration. The db_info object structure of the destination_db is documented below. Changing this parameter will create a new resource.
    direction String
    Specifies the direction of data flow. Changing this parameter will create a new resource. The options are as follows:

    • up: To the cloud. The destination database must be a database in the current cloud.
    • down: Out of the cloud. The source database must be a database in the current cloud.
    • non-dbs: self-built database.
    engineType String
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    sourceDb Property Map
    Specifies the source database configuration. The db_info object structure of the source_db is documented below. Changing this parameter will create a new resource.
    type String
    Specifies the job type. Changing this parameter will create a new resource. The options are as follows:

    • migration: Online Migration.
    • sync: Data Synchronization.
    • cloudDataGuard: Disaster Recovery.
    description String
    Specifies the description of the job, which contain a maximum of 256 characters, and certain special characters (including !<>&'"\) are not allowed.
    destinationDbReadonly Boolean
    Specifies the destination DB instance as read-only helps ensure the migration is successful. Once the migration is complete, the DB instance automatically changes to Read/Write. The default value is true. Changing this parameter will create a new resource.
    drsTaskV3Id String
    The resource ID in UUID format.
    expiredDays Number
    Specifies how many days after the task is abnormal, it will automatically end. The value ranges from 14 to 100. the default value is 14. Changing this parameter will create a new resource.
    forceDestroy Boolean
    Specifies whether to forcibly destroy the job even if it is running. The default value is false.
    limitSpeeds List<Property Map>
    Specifies the migration speed by setting a time period. The default is no speed limit. The maximum length is 3. Structure is documented below. Changing this parameter will create a new resource.
    migrateDefiner Boolean
    Specifies whether to migrate the definers of all source database objects to the user of destination_db. The default value is true. Changing this parameter will create a new resource.
    migrationType String

    Specifies migration type. Changing this parameter will create a new resource. The options are as follows:

    • FULL_TRANS: Full migration. Suitable for scenarios where services can be interrupted. It migrates all database objects and data, in a non-system database, to a destination database at a time.
    • INCR_TRANS: Incremental migration. Suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.
    • FULL_INCR_TRANS: Full+Incremental migration. This allows to migrate data with minimal downtime. After a full migration initializes the destination database, an incremental migration parses logs to ensure data consistency between the source and destination databases.

    The default value is FULL_INCR_TRANS.

    multiWrite Boolean
    Specifies whether to enable multi write. It is mandatory when type is cloudDataGuard. When the disaster recovery type is dual-active disaster recovery, set multi_write to true, otherwise to false. The default value is false. Changing this parameter will create a new resource.
    name String
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    netType String

    Specifies the network type. Changing this parameter will create a new resource. The options are as follows:

    • eip: suitable for migration from an on-premises or other cloud database to a destination cloud database. An EIP will be automatically bound to the replication instance and released after the replication task is complete.
    • vpc: suitable for migration from one cloud database to another.
    • vpn: suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.

    The default value is eip.

    nodeNum Number
    startTime String
    Specifies the time to start the job. The time format is yyyy-MM-dd HH:mm:ss. Start immediately by default. Changing this parameter will create a new resource.
    tags Map<String>
    Specifies the key/value pairs to associate with the DRS job. Changing this parameter will create a new resource.
    timeouts Property Map

    Outputs

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

    CreatedAt string
    Create time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateIp string
    Private IP.
    PublicIp string
    Public IP.
    Region string
    The region in which to create the resource.
    Status string
    Status.
    CreatedAt string
    Create time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    Id string
    The provider-assigned unique ID for this managed resource.
    PrivateIp string
    Private IP.
    PublicIp string
    Public IP.
    Region string
    The region in which to create the resource.
    Status string
    Status.
    createdAt String
    Create time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    id String
    The provider-assigned unique ID for this managed resource.
    privateIp String
    Private IP.
    publicIp String
    Public IP.
    region String
    The region in which to create the resource.
    status String
    Status.
    createdAt string
    Create time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    id string
    The provider-assigned unique ID for this managed resource.
    privateIp string
    Private IP.
    publicIp string
    Public IP.
    region string
    The region in which to create the resource.
    status string
    Status.
    created_at str
    Create time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    id str
    The provider-assigned unique ID for this managed resource.
    private_ip str
    Private IP.
    public_ip str
    Public IP.
    region str
    The region in which to create the resource.
    status str
    Status.
    createdAt String
    Create time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    id String
    The provider-assigned unique ID for this managed resource.
    privateIp String
    Private IP.
    publicIp String
    Public IP.
    region String
    The region in which to create the resource.
    status String
    Status.

    Look up Existing DrsTaskV3 Resource

    Get an existing DrsTaskV3 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?: DrsTaskV3State, opts?: CustomResourceOptions): DrsTaskV3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            destination_db: Optional[DrsTaskV3DestinationDbArgs] = None,
            destination_db_readonly: Optional[bool] = None,
            direction: Optional[str] = None,
            drs_task_v3_id: Optional[str] = None,
            engine_type: Optional[str] = None,
            expired_days: Optional[float] = None,
            force_destroy: Optional[bool] = None,
            limit_speeds: Optional[Sequence[DrsTaskV3LimitSpeedArgs]] = None,
            migrate_definer: Optional[bool] = None,
            migration_type: Optional[str] = None,
            multi_write: Optional[bool] = None,
            name: Optional[str] = None,
            net_type: Optional[str] = None,
            node_num: Optional[float] = None,
            private_ip: Optional[str] = None,
            public_ip: Optional[str] = None,
            region: Optional[str] = None,
            source_db: Optional[DrsTaskV3SourceDbArgs] = None,
            start_time: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            timeouts: Optional[DrsTaskV3TimeoutsArgs] = None,
            type: Optional[str] = None) -> DrsTaskV3
    func GetDrsTaskV3(ctx *Context, name string, id IDInput, state *DrsTaskV3State, opts ...ResourceOption) (*DrsTaskV3, error)
    public static DrsTaskV3 Get(string name, Input<string> id, DrsTaskV3State? state, CustomResourceOptions? opts = null)
    public static DrsTaskV3 get(String name, Output<String> id, DrsTaskV3State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:DrsTaskV3    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.
    The following state arguments are supported:
    CreatedAt string
    Create time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    Description string
    Specifies the description of the job, which contain a maximum of 256 characters, and certain special characters (including !<>&'"\) are not allowed.
    DestinationDb DrsTaskV3DestinationDb
    Specifies the destination database configuration. The db_info object structure of the destination_db is documented below. Changing this parameter will create a new resource.
    DestinationDbReadonly bool
    Specifies the destination DB instance as read-only helps ensure the migration is successful. Once the migration is complete, the DB instance automatically changes to Read/Write. The default value is true. Changing this parameter will create a new resource.
    Direction string
    Specifies the direction of data flow. Changing this parameter will create a new resource. The options are as follows:

    • up: To the cloud. The destination database must be a database in the current cloud.
    • down: Out of the cloud. The source database must be a database in the current cloud.
    • non-dbs: self-built database.
    DrsTaskV3Id string
    The resource ID in UUID format.
    EngineType string
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    ExpiredDays double
    Specifies how many days after the task is abnormal, it will automatically end. The value ranges from 14 to 100. the default value is 14. Changing this parameter will create a new resource.
    ForceDestroy bool
    Specifies whether to forcibly destroy the job even if it is running. The default value is false.
    LimitSpeeds List<DrsTaskV3LimitSpeed>
    Specifies the migration speed by setting a time period. The default is no speed limit. The maximum length is 3. Structure is documented below. Changing this parameter will create a new resource.
    MigrateDefiner bool
    Specifies whether to migrate the definers of all source database objects to the user of destination_db. The default value is true. Changing this parameter will create a new resource.
    MigrationType string

    Specifies migration type. Changing this parameter will create a new resource. The options are as follows:

    • FULL_TRANS: Full migration. Suitable for scenarios where services can be interrupted. It migrates all database objects and data, in a non-system database, to a destination database at a time.
    • INCR_TRANS: Incremental migration. Suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.
    • FULL_INCR_TRANS: Full+Incremental migration. This allows to migrate data with minimal downtime. After a full migration initializes the destination database, an incremental migration parses logs to ensure data consistency between the source and destination databases.

    The default value is FULL_INCR_TRANS.

    MultiWrite bool
    Specifies whether to enable multi write. It is mandatory when type is cloudDataGuard. When the disaster recovery type is dual-active disaster recovery, set multi_write to true, otherwise to false. The default value is false. Changing this parameter will create a new resource.
    Name string
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    NetType string

    Specifies the network type. Changing this parameter will create a new resource. The options are as follows:

    • eip: suitable for migration from an on-premises or other cloud database to a destination cloud database. An EIP will be automatically bound to the replication instance and released after the replication task is complete.
    • vpc: suitable for migration from one cloud database to another.
    • vpn: suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.

    The default value is eip.

    NodeNum double
    PrivateIp string
    Private IP.
    PublicIp string
    Public IP.
    Region string
    The region in which to create the resource.
    SourceDb DrsTaskV3SourceDb
    Specifies the source database configuration. The db_info object structure of the source_db is documented below. Changing this parameter will create a new resource.
    StartTime string
    Specifies the time to start the job. The time format is yyyy-MM-dd HH:mm:ss. Start immediately by default. Changing this parameter will create a new resource.
    Status string
    Status.
    Tags Dictionary<string, string>
    Specifies the key/value pairs to associate with the DRS job. Changing this parameter will create a new resource.
    Timeouts DrsTaskV3Timeouts
    Type string
    Specifies the job type. Changing this parameter will create a new resource. The options are as follows:

    • migration: Online Migration.
    • sync: Data Synchronization.
    • cloudDataGuard: Disaster Recovery.
    CreatedAt string
    Create time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    Description string
    Specifies the description of the job, which contain a maximum of 256 characters, and certain special characters (including !<>&'"\) are not allowed.
    DestinationDb DrsTaskV3DestinationDbArgs
    Specifies the destination database configuration. The db_info object structure of the destination_db is documented below. Changing this parameter will create a new resource.
    DestinationDbReadonly bool
    Specifies the destination DB instance as read-only helps ensure the migration is successful. Once the migration is complete, the DB instance automatically changes to Read/Write. The default value is true. Changing this parameter will create a new resource.
    Direction string
    Specifies the direction of data flow. Changing this parameter will create a new resource. The options are as follows:

    • up: To the cloud. The destination database must be a database in the current cloud.
    • down: Out of the cloud. The source database must be a database in the current cloud.
    • non-dbs: self-built database.
    DrsTaskV3Id string
    The resource ID in UUID format.
    EngineType string
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    ExpiredDays float64
    Specifies how many days after the task is abnormal, it will automatically end. The value ranges from 14 to 100. the default value is 14. Changing this parameter will create a new resource.
    ForceDestroy bool
    Specifies whether to forcibly destroy the job even if it is running. The default value is false.
    LimitSpeeds []DrsTaskV3LimitSpeedArgs
    Specifies the migration speed by setting a time period. The default is no speed limit. The maximum length is 3. Structure is documented below. Changing this parameter will create a new resource.
    MigrateDefiner bool
    Specifies whether to migrate the definers of all source database objects to the user of destination_db. The default value is true. Changing this parameter will create a new resource.
    MigrationType string

    Specifies migration type. Changing this parameter will create a new resource. The options are as follows:

    • FULL_TRANS: Full migration. Suitable for scenarios where services can be interrupted. It migrates all database objects and data, in a non-system database, to a destination database at a time.
    • INCR_TRANS: Incremental migration. Suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.
    • FULL_INCR_TRANS: Full+Incremental migration. This allows to migrate data with minimal downtime. After a full migration initializes the destination database, an incremental migration parses logs to ensure data consistency between the source and destination databases.

    The default value is FULL_INCR_TRANS.

    MultiWrite bool
    Specifies whether to enable multi write. It is mandatory when type is cloudDataGuard. When the disaster recovery type is dual-active disaster recovery, set multi_write to true, otherwise to false. The default value is false. Changing this parameter will create a new resource.
    Name string
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    NetType string

    Specifies the network type. Changing this parameter will create a new resource. The options are as follows:

    • eip: suitable for migration from an on-premises or other cloud database to a destination cloud database. An EIP will be automatically bound to the replication instance and released after the replication task is complete.
    • vpc: suitable for migration from one cloud database to another.
    • vpn: suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.

    The default value is eip.

    NodeNum float64
    PrivateIp string
    Private IP.
    PublicIp string
    Public IP.
    Region string
    The region in which to create the resource.
    SourceDb DrsTaskV3SourceDbArgs
    Specifies the source database configuration. The db_info object structure of the source_db is documented below. Changing this parameter will create a new resource.
    StartTime string
    Specifies the time to start the job. The time format is yyyy-MM-dd HH:mm:ss. Start immediately by default. Changing this parameter will create a new resource.
    Status string
    Status.
    Tags map[string]string
    Specifies the key/value pairs to associate with the DRS job. Changing this parameter will create a new resource.
    Timeouts DrsTaskV3TimeoutsArgs
    Type string
    Specifies the job type. Changing this parameter will create a new resource. The options are as follows:

    • migration: Online Migration.
    • sync: Data Synchronization.
    • cloudDataGuard: Disaster Recovery.
    createdAt String
    Create time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    description String
    Specifies the description of the job, which contain a maximum of 256 characters, and certain special characters (including !<>&'"\) are not allowed.
    destinationDb DrsTaskV3DestinationDb
    Specifies the destination database configuration. The db_info object structure of the destination_db is documented below. Changing this parameter will create a new resource.
    destinationDbReadonly Boolean
    Specifies the destination DB instance as read-only helps ensure the migration is successful. Once the migration is complete, the DB instance automatically changes to Read/Write. The default value is true. Changing this parameter will create a new resource.
    direction String
    Specifies the direction of data flow. Changing this parameter will create a new resource. The options are as follows:

    • up: To the cloud. The destination database must be a database in the current cloud.
    • down: Out of the cloud. The source database must be a database in the current cloud.
    • non-dbs: self-built database.
    drsTaskV3Id String
    The resource ID in UUID format.
    engineType String
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    expiredDays Double
    Specifies how many days after the task is abnormal, it will automatically end. The value ranges from 14 to 100. the default value is 14. Changing this parameter will create a new resource.
    forceDestroy Boolean
    Specifies whether to forcibly destroy the job even if it is running. The default value is false.
    limitSpeeds List<DrsTaskV3LimitSpeed>
    Specifies the migration speed by setting a time period. The default is no speed limit. The maximum length is 3. Structure is documented below. Changing this parameter will create a new resource.
    migrateDefiner Boolean
    Specifies whether to migrate the definers of all source database objects to the user of destination_db. The default value is true. Changing this parameter will create a new resource.
    migrationType String

    Specifies migration type. Changing this parameter will create a new resource. The options are as follows:

    • FULL_TRANS: Full migration. Suitable for scenarios where services can be interrupted. It migrates all database objects and data, in a non-system database, to a destination database at a time.
    • INCR_TRANS: Incremental migration. Suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.
    • FULL_INCR_TRANS: Full+Incremental migration. This allows to migrate data with minimal downtime. After a full migration initializes the destination database, an incremental migration parses logs to ensure data consistency between the source and destination databases.

    The default value is FULL_INCR_TRANS.

    multiWrite Boolean
    Specifies whether to enable multi write. It is mandatory when type is cloudDataGuard. When the disaster recovery type is dual-active disaster recovery, set multi_write to true, otherwise to false. The default value is false. Changing this parameter will create a new resource.
    name String
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    netType String

    Specifies the network type. Changing this parameter will create a new resource. The options are as follows:

    • eip: suitable for migration from an on-premises or other cloud database to a destination cloud database. An EIP will be automatically bound to the replication instance and released after the replication task is complete.
    • vpc: suitable for migration from one cloud database to another.
    • vpn: suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.

    The default value is eip.

    nodeNum Double
    privateIp String
    Private IP.
    publicIp String
    Public IP.
    region String
    The region in which to create the resource.
    sourceDb DrsTaskV3SourceDb
    Specifies the source database configuration. The db_info object structure of the source_db is documented below. Changing this parameter will create a new resource.
    startTime String
    Specifies the time to start the job. The time format is yyyy-MM-dd HH:mm:ss. Start immediately by default. Changing this parameter will create a new resource.
    status String
    Status.
    tags Map<String,String>
    Specifies the key/value pairs to associate with the DRS job. Changing this parameter will create a new resource.
    timeouts DrsTaskV3Timeouts
    type String
    Specifies the job type. Changing this parameter will create a new resource. The options are as follows:

    • migration: Online Migration.
    • sync: Data Synchronization.
    • cloudDataGuard: Disaster Recovery.
    createdAt string
    Create time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    description string
    Specifies the description of the job, which contain a maximum of 256 characters, and certain special characters (including !<>&'"\) are not allowed.
    destinationDb DrsTaskV3DestinationDb
    Specifies the destination database configuration. The db_info object structure of the destination_db is documented below. Changing this parameter will create a new resource.
    destinationDbReadonly boolean
    Specifies the destination DB instance as read-only helps ensure the migration is successful. Once the migration is complete, the DB instance automatically changes to Read/Write. The default value is true. Changing this parameter will create a new resource.
    direction string
    Specifies the direction of data flow. Changing this parameter will create a new resource. The options are as follows:

    • up: To the cloud. The destination database must be a database in the current cloud.
    • down: Out of the cloud. The source database must be a database in the current cloud.
    • non-dbs: self-built database.
    drsTaskV3Id string
    The resource ID in UUID format.
    engineType string
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    expiredDays number
    Specifies how many days after the task is abnormal, it will automatically end. The value ranges from 14 to 100. the default value is 14. Changing this parameter will create a new resource.
    forceDestroy boolean
    Specifies whether to forcibly destroy the job even if it is running. The default value is false.
    limitSpeeds DrsTaskV3LimitSpeed[]
    Specifies the migration speed by setting a time period. The default is no speed limit. The maximum length is 3. Structure is documented below. Changing this parameter will create a new resource.
    migrateDefiner boolean
    Specifies whether to migrate the definers of all source database objects to the user of destination_db. The default value is true. Changing this parameter will create a new resource.
    migrationType string

    Specifies migration type. Changing this parameter will create a new resource. The options are as follows:

    • FULL_TRANS: Full migration. Suitable for scenarios where services can be interrupted. It migrates all database objects and data, in a non-system database, to a destination database at a time.
    • INCR_TRANS: Incremental migration. Suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.
    • FULL_INCR_TRANS: Full+Incremental migration. This allows to migrate data with minimal downtime. After a full migration initializes the destination database, an incremental migration parses logs to ensure data consistency between the source and destination databases.

    The default value is FULL_INCR_TRANS.

    multiWrite boolean
    Specifies whether to enable multi write. It is mandatory when type is cloudDataGuard. When the disaster recovery type is dual-active disaster recovery, set multi_write to true, otherwise to false. The default value is false. Changing this parameter will create a new resource.
    name string
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    netType string

    Specifies the network type. Changing this parameter will create a new resource. The options are as follows:

    • eip: suitable for migration from an on-premises or other cloud database to a destination cloud database. An EIP will be automatically bound to the replication instance and released after the replication task is complete.
    • vpc: suitable for migration from one cloud database to another.
    • vpn: suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.

    The default value is eip.

    nodeNum number
    privateIp string
    Private IP.
    publicIp string
    Public IP.
    region string
    The region in which to create the resource.
    sourceDb DrsTaskV3SourceDb
    Specifies the source database configuration. The db_info object structure of the source_db is documented below. Changing this parameter will create a new resource.
    startTime string
    Specifies the time to start the job. The time format is yyyy-MM-dd HH:mm:ss. Start immediately by default. Changing this parameter will create a new resource.
    status string
    Status.
    tags {[key: string]: string}
    Specifies the key/value pairs to associate with the DRS job. Changing this parameter will create a new resource.
    timeouts DrsTaskV3Timeouts
    type string
    Specifies the job type. Changing this parameter will create a new resource. The options are as follows:

    • migration: Online Migration.
    • sync: Data Synchronization.
    • cloudDataGuard: Disaster Recovery.
    created_at str
    Create time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    description str
    Specifies the description of the job, which contain a maximum of 256 characters, and certain special characters (including !<>&'"\) are not allowed.
    destination_db DrsTaskV3DestinationDbArgs
    Specifies the destination database configuration. The db_info object structure of the destination_db is documented below. Changing this parameter will create a new resource.
    destination_db_readonly bool
    Specifies the destination DB instance as read-only helps ensure the migration is successful. Once the migration is complete, the DB instance automatically changes to Read/Write. The default value is true. Changing this parameter will create a new resource.
    direction str
    Specifies the direction of data flow. Changing this parameter will create a new resource. The options are as follows:

    • up: To the cloud. The destination database must be a database in the current cloud.
    • down: Out of the cloud. The source database must be a database in the current cloud.
    • non-dbs: self-built database.
    drs_task_v3_id str
    The resource ID in UUID format.
    engine_type str
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    expired_days float
    Specifies how many days after the task is abnormal, it will automatically end. The value ranges from 14 to 100. the default value is 14. Changing this parameter will create a new resource.
    force_destroy bool
    Specifies whether to forcibly destroy the job even if it is running. The default value is false.
    limit_speeds Sequence[DrsTaskV3LimitSpeedArgs]
    Specifies the migration speed by setting a time period. The default is no speed limit. The maximum length is 3. Structure is documented below. Changing this parameter will create a new resource.
    migrate_definer bool
    Specifies whether to migrate the definers of all source database objects to the user of destination_db. The default value is true. Changing this parameter will create a new resource.
    migration_type str

    Specifies migration type. Changing this parameter will create a new resource. The options are as follows:

    • FULL_TRANS: Full migration. Suitable for scenarios where services can be interrupted. It migrates all database objects and data, in a non-system database, to a destination database at a time.
    • INCR_TRANS: Incremental migration. Suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.
    • FULL_INCR_TRANS: Full+Incremental migration. This allows to migrate data with minimal downtime. After a full migration initializes the destination database, an incremental migration parses logs to ensure data consistency between the source and destination databases.

    The default value is FULL_INCR_TRANS.

    multi_write bool
    Specifies whether to enable multi write. It is mandatory when type is cloudDataGuard. When the disaster recovery type is dual-active disaster recovery, set multi_write to true, otherwise to false. The default value is false. Changing this parameter will create a new resource.
    name str
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    net_type str

    Specifies the network type. Changing this parameter will create a new resource. The options are as follows:

    • eip: suitable for migration from an on-premises or other cloud database to a destination cloud database. An EIP will be automatically bound to the replication instance and released after the replication task is complete.
    • vpc: suitable for migration from one cloud database to another.
    • vpn: suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.

    The default value is eip.

    node_num float
    private_ip str
    Private IP.
    public_ip str
    Public IP.
    region str
    The region in which to create the resource.
    source_db DrsTaskV3SourceDbArgs
    Specifies the source database configuration. The db_info object structure of the source_db is documented below. Changing this parameter will create a new resource.
    start_time str
    Specifies the time to start the job. The time format is yyyy-MM-dd HH:mm:ss. Start immediately by default. Changing this parameter will create a new resource.
    status str
    Status.
    tags Mapping[str, str]
    Specifies the key/value pairs to associate with the DRS job. Changing this parameter will create a new resource.
    timeouts DrsTaskV3TimeoutsArgs
    type str
    Specifies the job type. Changing this parameter will create a new resource. The options are as follows:

    • migration: Online Migration.
    • sync: Data Synchronization.
    • cloudDataGuard: Disaster Recovery.
    createdAt String
    Create time. The format is ISO8601:YYYY-MM-DDThh:mm:ssZ
    description String
    Specifies the description of the job, which contain a maximum of 256 characters, and certain special characters (including !<>&'"\) are not allowed.
    destinationDb Property Map
    Specifies the destination database configuration. The db_info object structure of the destination_db is documented below. Changing this parameter will create a new resource.
    destinationDbReadonly Boolean
    Specifies the destination DB instance as read-only helps ensure the migration is successful. Once the migration is complete, the DB instance automatically changes to Read/Write. The default value is true. Changing this parameter will create a new resource.
    direction String
    Specifies the direction of data flow. Changing this parameter will create a new resource. The options are as follows:

    • up: To the cloud. The destination database must be a database in the current cloud.
    • down: Out of the cloud. The source database must be a database in the current cloud.
    • non-dbs: self-built database.
    drsTaskV3Id String
    The resource ID in UUID format.
    engineType String
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    expiredDays Number
    Specifies how many days after the task is abnormal, it will automatically end. The value ranges from 14 to 100. the default value is 14. Changing this parameter will create a new resource.
    forceDestroy Boolean
    Specifies whether to forcibly destroy the job even if it is running. The default value is false.
    limitSpeeds List<Property Map>
    Specifies the migration speed by setting a time period. The default is no speed limit. The maximum length is 3. Structure is documented below. Changing this parameter will create a new resource.
    migrateDefiner Boolean
    Specifies whether to migrate the definers of all source database objects to the user of destination_db. The default value is true. Changing this parameter will create a new resource.
    migrationType String

    Specifies migration type. Changing this parameter will create a new resource. The options are as follows:

    • FULL_TRANS: Full migration. Suitable for scenarios where services can be interrupted. It migrates all database objects and data, in a non-system database, to a destination database at a time.
    • INCR_TRANS: Incremental migration. Suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.
    • FULL_INCR_TRANS: Full+Incremental migration. This allows to migrate data with minimal downtime. After a full migration initializes the destination database, an incremental migration parses logs to ensure data consistency between the source and destination databases.

    The default value is FULL_INCR_TRANS.

    multiWrite Boolean
    Specifies whether to enable multi write. It is mandatory when type is cloudDataGuard. When the disaster recovery type is dual-active disaster recovery, set multi_write to true, otherwise to false. The default value is false. Changing this parameter will create a new resource.
    name String
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    netType String

    Specifies the network type. Changing this parameter will create a new resource. The options are as follows:

    • eip: suitable for migration from an on-premises or other cloud database to a destination cloud database. An EIP will be automatically bound to the replication instance and released after the replication task is complete.
    • vpc: suitable for migration from one cloud database to another.
    • vpn: suitable for migration from an on-premises self-built database to a destination cloud database, or from one cloud database to another in a different region.

    The default value is eip.

    nodeNum Number
    privateIp String
    Private IP.
    publicIp String
    Public IP.
    region String
    The region in which to create the resource.
    sourceDb Property Map
    Specifies the source database configuration. The db_info object structure of the source_db is documented below. Changing this parameter will create a new resource.
    startTime String
    Specifies the time to start the job. The time format is yyyy-MM-dd HH:mm:ss. Start immediately by default. Changing this parameter will create a new resource.
    status String
    Status.
    tags Map<String>
    Specifies the key/value pairs to associate with the DRS job. Changing this parameter will create a new resource.
    timeouts Property Map
    type String
    Specifies the job type. Changing this parameter will create a new resource. The options are as follows:

    • migration: Online Migration.
    • sync: Data Synchronization.
    • cloudDataGuard: Disaster Recovery.

    Supporting Types

    DrsTaskV3DestinationDb, DrsTaskV3DestinationDbArgs

    EngineType string
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    Ip string
    Specifies the IP of database. Changing this parameter will create a new resource.
    Password string
    Specifies the password of database. Changing this parameter will create a new resource.
    Port double
    Specifies the port of database. Changing this parameter will create a new resource.
    User string
    Specifies the user name of database. Changing this parameter will create a new resource.
    InstanceId string
    Specifies the instance id of database when it is a RDS database. Changing this parameter will create a new resource.
    Name string
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    PrivateIp string
    Private IP.
    Region string
    The region in which to create the resource.
    SslCertCheckSum string
    Specifies the checksum of SSL certificate content. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    SslCertKey string
    Specifies the SSL certificate content, encrypted with base64. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    SslCertName string
    Specifies SSL certificate name. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    SslCertPassword string
    Specifies SSL certificate password. It is mandatory when ssl_enabled is true and the certificate file suffix is .p12. Changing this parameter will create a new resource.
    SslEnabled bool
    Specifies whether to enable SSL connection. Changing this parameter will create a new resource.
    SubnetId string
    Specifies subnet ID of database when it is a RDS database. It is mandatory when direction is down. Changing this parameter will create a new resource.
    EngineType string
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    Ip string
    Specifies the IP of database. Changing this parameter will create a new resource.
    Password string
    Specifies the password of database. Changing this parameter will create a new resource.
    Port float64
    Specifies the port of database. Changing this parameter will create a new resource.
    User string
    Specifies the user name of database. Changing this parameter will create a new resource.
    InstanceId string
    Specifies the instance id of database when it is a RDS database. Changing this parameter will create a new resource.
    Name string
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    PrivateIp string
    Private IP.
    Region string
    The region in which to create the resource.
    SslCertCheckSum string
    Specifies the checksum of SSL certificate content. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    SslCertKey string
    Specifies the SSL certificate content, encrypted with base64. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    SslCertName string
    Specifies SSL certificate name. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    SslCertPassword string
    Specifies SSL certificate password. It is mandatory when ssl_enabled is true and the certificate file suffix is .p12. Changing this parameter will create a new resource.
    SslEnabled bool
    Specifies whether to enable SSL connection. Changing this parameter will create a new resource.
    SubnetId string
    Specifies subnet ID of database when it is a RDS database. It is mandatory when direction is down. Changing this parameter will create a new resource.
    engineType String
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    ip String
    Specifies the IP of database. Changing this parameter will create a new resource.
    password String
    Specifies the password of database. Changing this parameter will create a new resource.
    port Double
    Specifies the port of database. Changing this parameter will create a new resource.
    user String
    Specifies the user name of database. Changing this parameter will create a new resource.
    instanceId String
    Specifies the instance id of database when it is a RDS database. Changing this parameter will create a new resource.
    name String
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    privateIp String
    Private IP.
    region String
    The region in which to create the resource.
    sslCertCheckSum String
    Specifies the checksum of SSL certificate content. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertKey String
    Specifies the SSL certificate content, encrypted with base64. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertName String
    Specifies SSL certificate name. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertPassword String
    Specifies SSL certificate password. It is mandatory when ssl_enabled is true and the certificate file suffix is .p12. Changing this parameter will create a new resource.
    sslEnabled Boolean
    Specifies whether to enable SSL connection. Changing this parameter will create a new resource.
    subnetId String
    Specifies subnet ID of database when it is a RDS database. It is mandatory when direction is down. Changing this parameter will create a new resource.
    engineType string
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    ip string
    Specifies the IP of database. Changing this parameter will create a new resource.
    password string
    Specifies the password of database. Changing this parameter will create a new resource.
    port number
    Specifies the port of database. Changing this parameter will create a new resource.
    user string
    Specifies the user name of database. Changing this parameter will create a new resource.
    instanceId string
    Specifies the instance id of database when it is a RDS database. Changing this parameter will create a new resource.
    name string
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    privateIp string
    Private IP.
    region string
    The region in which to create the resource.
    sslCertCheckSum string
    Specifies the checksum of SSL certificate content. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertKey string
    Specifies the SSL certificate content, encrypted with base64. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertName string
    Specifies SSL certificate name. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertPassword string
    Specifies SSL certificate password. It is mandatory when ssl_enabled is true and the certificate file suffix is .p12. Changing this parameter will create a new resource.
    sslEnabled boolean
    Specifies whether to enable SSL connection. Changing this parameter will create a new resource.
    subnetId string
    Specifies subnet ID of database when it is a RDS database. It is mandatory when direction is down. Changing this parameter will create a new resource.
    engine_type str
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    ip str
    Specifies the IP of database. Changing this parameter will create a new resource.
    password str
    Specifies the password of database. Changing this parameter will create a new resource.
    port float
    Specifies the port of database. Changing this parameter will create a new resource.
    user str
    Specifies the user name of database. Changing this parameter will create a new resource.
    instance_id str
    Specifies the instance id of database when it is a RDS database. Changing this parameter will create a new resource.
    name str
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    private_ip str
    Private IP.
    region str
    The region in which to create the resource.
    ssl_cert_check_sum str
    Specifies the checksum of SSL certificate content. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    ssl_cert_key str
    Specifies the SSL certificate content, encrypted with base64. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    ssl_cert_name str
    Specifies SSL certificate name. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    ssl_cert_password str
    Specifies SSL certificate password. It is mandatory when ssl_enabled is true and the certificate file suffix is .p12. Changing this parameter will create a new resource.
    ssl_enabled bool
    Specifies whether to enable SSL connection. Changing this parameter will create a new resource.
    subnet_id str
    Specifies subnet ID of database when it is a RDS database. It is mandatory when direction is down. Changing this parameter will create a new resource.
    engineType String
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    ip String
    Specifies the IP of database. Changing this parameter will create a new resource.
    password String
    Specifies the password of database. Changing this parameter will create a new resource.
    port Number
    Specifies the port of database. Changing this parameter will create a new resource.
    user String
    Specifies the user name of database. Changing this parameter will create a new resource.
    instanceId String
    Specifies the instance id of database when it is a RDS database. Changing this parameter will create a new resource.
    name String
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    privateIp String
    Private IP.
    region String
    The region in which to create the resource.
    sslCertCheckSum String
    Specifies the checksum of SSL certificate content. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertKey String
    Specifies the SSL certificate content, encrypted with base64. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertName String
    Specifies SSL certificate name. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertPassword String
    Specifies SSL certificate password. It is mandatory when ssl_enabled is true and the certificate file suffix is .p12. Changing this parameter will create a new resource.
    sslEnabled Boolean
    Specifies whether to enable SSL connection. Changing this parameter will create a new resource.
    subnetId String
    Specifies subnet ID of database when it is a RDS database. It is mandatory when direction is down. Changing this parameter will create a new resource.

    DrsTaskV3LimitSpeed, DrsTaskV3LimitSpeedArgs

    EndTime string
    Specifies the time to end speed limit, this time is UTC time. The input must end at 59 minutes, the format is hh:mm, for example: 15:59. Changing this parameter will create a new resource.
    Speed string
    Specifies the transmission speed, the value range is 1 to 9999, unit: MB/s. Changing this parameter will create a new resource.
    StartTime string
    Specifies the time to start speed limit, this time is UTC time. The start time is the whole hour, if there is a minute, it will be ignored, the format is hh:mm, and the hour number is two digits, for example: 01:00. Changing this parameter will create a new resource.
    EndTime string
    Specifies the time to end speed limit, this time is UTC time. The input must end at 59 minutes, the format is hh:mm, for example: 15:59. Changing this parameter will create a new resource.
    Speed string
    Specifies the transmission speed, the value range is 1 to 9999, unit: MB/s. Changing this parameter will create a new resource.
    StartTime string
    Specifies the time to start speed limit, this time is UTC time. The start time is the whole hour, if there is a minute, it will be ignored, the format is hh:mm, and the hour number is two digits, for example: 01:00. Changing this parameter will create a new resource.
    endTime String
    Specifies the time to end speed limit, this time is UTC time. The input must end at 59 minutes, the format is hh:mm, for example: 15:59. Changing this parameter will create a new resource.
    speed String
    Specifies the transmission speed, the value range is 1 to 9999, unit: MB/s. Changing this parameter will create a new resource.
    startTime String
    Specifies the time to start speed limit, this time is UTC time. The start time is the whole hour, if there is a minute, it will be ignored, the format is hh:mm, and the hour number is two digits, for example: 01:00. Changing this parameter will create a new resource.
    endTime string
    Specifies the time to end speed limit, this time is UTC time. The input must end at 59 minutes, the format is hh:mm, for example: 15:59. Changing this parameter will create a new resource.
    speed string
    Specifies the transmission speed, the value range is 1 to 9999, unit: MB/s. Changing this parameter will create a new resource.
    startTime string
    Specifies the time to start speed limit, this time is UTC time. The start time is the whole hour, if there is a minute, it will be ignored, the format is hh:mm, and the hour number is two digits, for example: 01:00. Changing this parameter will create a new resource.
    end_time str
    Specifies the time to end speed limit, this time is UTC time. The input must end at 59 minutes, the format is hh:mm, for example: 15:59. Changing this parameter will create a new resource.
    speed str
    Specifies the transmission speed, the value range is 1 to 9999, unit: MB/s. Changing this parameter will create a new resource.
    start_time str
    Specifies the time to start speed limit, this time is UTC time. The start time is the whole hour, if there is a minute, it will be ignored, the format is hh:mm, and the hour number is two digits, for example: 01:00. Changing this parameter will create a new resource.
    endTime String
    Specifies the time to end speed limit, this time is UTC time. The input must end at 59 minutes, the format is hh:mm, for example: 15:59. Changing this parameter will create a new resource.
    speed String
    Specifies the transmission speed, the value range is 1 to 9999, unit: MB/s. Changing this parameter will create a new resource.
    startTime String
    Specifies the time to start speed limit, this time is UTC time. The start time is the whole hour, if there is a minute, it will be ignored, the format is hh:mm, and the hour number is two digits, for example: 01:00. Changing this parameter will create a new resource.

    DrsTaskV3SourceDb, DrsTaskV3SourceDbArgs

    EngineType string
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    Ip string
    Specifies the IP of database. Changing this parameter will create a new resource.
    Password string
    Specifies the password of database. Changing this parameter will create a new resource.
    Port double
    Specifies the port of database. Changing this parameter will create a new resource.
    User string
    Specifies the user name of database. Changing this parameter will create a new resource.
    InstanceId string
    Specifies the instance id of database when it is a RDS database. Changing this parameter will create a new resource.
    Name string
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    PrivateIp string
    Private IP.
    Region string
    The region in which to create the resource.
    SslCertCheckSum string
    Specifies the checksum of SSL certificate content. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    SslCertKey string
    Specifies the SSL certificate content, encrypted with base64. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    SslCertName string
    Specifies SSL certificate name. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    SslCertPassword string
    Specifies SSL certificate password. It is mandatory when ssl_enabled is true and the certificate file suffix is .p12. Changing this parameter will create a new resource.
    SslEnabled bool
    Specifies whether to enable SSL connection. Changing this parameter will create a new resource.
    SubnetId string
    Specifies subnet ID of database when it is a RDS database. It is mandatory when direction is down. Changing this parameter will create a new resource.
    EngineType string
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    Ip string
    Specifies the IP of database. Changing this parameter will create a new resource.
    Password string
    Specifies the password of database. Changing this parameter will create a new resource.
    Port float64
    Specifies the port of database. Changing this parameter will create a new resource.
    User string
    Specifies the user name of database. Changing this parameter will create a new resource.
    InstanceId string
    Specifies the instance id of database when it is a RDS database. Changing this parameter will create a new resource.
    Name string
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    PrivateIp string
    Private IP.
    Region string
    The region in which to create the resource.
    SslCertCheckSum string
    Specifies the checksum of SSL certificate content. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    SslCertKey string
    Specifies the SSL certificate content, encrypted with base64. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    SslCertName string
    Specifies SSL certificate name. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    SslCertPassword string
    Specifies SSL certificate password. It is mandatory when ssl_enabled is true and the certificate file suffix is .p12. Changing this parameter will create a new resource.
    SslEnabled bool
    Specifies whether to enable SSL connection. Changing this parameter will create a new resource.
    SubnetId string
    Specifies subnet ID of database when it is a RDS database. It is mandatory when direction is down. Changing this parameter will create a new resource.
    engineType String
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    ip String
    Specifies the IP of database. Changing this parameter will create a new resource.
    password String
    Specifies the password of database. Changing this parameter will create a new resource.
    port Double
    Specifies the port of database. Changing this parameter will create a new resource.
    user String
    Specifies the user name of database. Changing this parameter will create a new resource.
    instanceId String
    Specifies the instance id of database when it is a RDS database. Changing this parameter will create a new resource.
    name String
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    privateIp String
    Private IP.
    region String
    The region in which to create the resource.
    sslCertCheckSum String
    Specifies the checksum of SSL certificate content. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertKey String
    Specifies the SSL certificate content, encrypted with base64. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertName String
    Specifies SSL certificate name. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertPassword String
    Specifies SSL certificate password. It is mandatory when ssl_enabled is true and the certificate file suffix is .p12. Changing this parameter will create a new resource.
    sslEnabled Boolean
    Specifies whether to enable SSL connection. Changing this parameter will create a new resource.
    subnetId String
    Specifies subnet ID of database when it is a RDS database. It is mandatory when direction is down. Changing this parameter will create a new resource.
    engineType string
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    ip string
    Specifies the IP of database. Changing this parameter will create a new resource.
    password string
    Specifies the password of database. Changing this parameter will create a new resource.
    port number
    Specifies the port of database. Changing this parameter will create a new resource.
    user string
    Specifies the user name of database. Changing this parameter will create a new resource.
    instanceId string
    Specifies the instance id of database when it is a RDS database. Changing this parameter will create a new resource.
    name string
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    privateIp string
    Private IP.
    region string
    The region in which to create the resource.
    sslCertCheckSum string
    Specifies the checksum of SSL certificate content. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertKey string
    Specifies the SSL certificate content, encrypted with base64. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertName string
    Specifies SSL certificate name. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertPassword string
    Specifies SSL certificate password. It is mandatory when ssl_enabled is true and the certificate file suffix is .p12. Changing this parameter will create a new resource.
    sslEnabled boolean
    Specifies whether to enable SSL connection. Changing this parameter will create a new resource.
    subnetId string
    Specifies subnet ID of database when it is a RDS database. It is mandatory when direction is down. Changing this parameter will create a new resource.
    engine_type str
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    ip str
    Specifies the IP of database. Changing this parameter will create a new resource.
    password str
    Specifies the password of database. Changing this parameter will create a new resource.
    port float
    Specifies the port of database. Changing this parameter will create a new resource.
    user str
    Specifies the user name of database. Changing this parameter will create a new resource.
    instance_id str
    Specifies the instance id of database when it is a RDS database. Changing this parameter will create a new resource.
    name str
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    private_ip str
    Private IP.
    region str
    The region in which to create the resource.
    ssl_cert_check_sum str
    Specifies the checksum of SSL certificate content. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    ssl_cert_key str
    Specifies the SSL certificate content, encrypted with base64. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    ssl_cert_name str
    Specifies SSL certificate name. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    ssl_cert_password str
    Specifies SSL certificate password. It is mandatory when ssl_enabled is true and the certificate file suffix is .p12. Changing this parameter will create a new resource.
    ssl_enabled bool
    Specifies whether to enable SSL connection. Changing this parameter will create a new resource.
    subnet_id str
    Specifies subnet ID of database when it is a RDS database. It is mandatory when direction is down. Changing this parameter will create a new resource.
    engineType String
    Specifies the migration engine type. Changing this parameter will create a new resource. The options are as follows:

    • mysql: MySQL migration, MySQL synchronization use.
    • mongodb: Mongodb migration use.
    • cloudDataGuard-mysql: Disaster recovery use.
    • gaussdbv5: GaussDB (for openGauss) synchronization use.
    • mysql-to-kafka: Synchronization from MySQL to Kafka use.
    • taurus-to-kafka: Synchronization from GaussDB(for MySQL) to Kafka use.
    • gaussdbv5ha-to-kafka: Synchronization from GaussDB primary/standby to Kafka use.
    • postgresql: Synchronization from PostgreSQL to PostgreSQL use.
    ip String
    Specifies the IP of database. Changing this parameter will create a new resource.
    password String
    Specifies the password of database. Changing this parameter will create a new resource.
    port Number
    Specifies the port of database. Changing this parameter will create a new resource.
    user String
    Specifies the user name of database. Changing this parameter will create a new resource.
    instanceId String
    Specifies the instance id of database when it is a RDS database. Changing this parameter will create a new resource.
    name String
    Specifies the job name. The name consists of 4 to 50 characters, starting with a letter. Only letters, digits, underscores (_) and hyphens (-) are allowed.
    privateIp String
    Private IP.
    region String
    The region in which to create the resource.
    sslCertCheckSum String
    Specifies the checksum of SSL certificate content. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertKey String
    Specifies the SSL certificate content, encrypted with base64. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertName String
    Specifies SSL certificate name. It is mandatory when ssl_enabled is true. Changing this parameter will create a new resource.
    sslCertPassword String
    Specifies SSL certificate password. It is mandatory when ssl_enabled is true and the certificate file suffix is .p12. Changing this parameter will create a new resource.
    sslEnabled Boolean
    Specifies whether to enable SSL connection. Changing this parameter will create a new resource.
    subnetId String
    Specifies subnet ID of database when it is a RDS database. It is mandatory when direction is down. Changing this parameter will create a new resource.

    DrsTaskV3Timeouts, DrsTaskV3TimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    The DRS job can be imported by id. For example,

    $ pulumi import opentelekomcloud:index/drsTaskV3:DrsTaskV3 test b11b407c-e604-4e8d-8bc4-92398320b847
    

    Note that the imported state may not be identical to your resource definition, due to some attributes missing from the

    API response, security or some other reason. The missing attributes include: tags, force_destroy,

    source_db.0.password and destination_db.0.password.It is generally recommended running

    pulumi preview after importing a job. You can then decide if changes should be applied to the job, or the resource

    definition should be updated to align with the job. Also you can ignore changes as below.

    resource “opentelekomcloud_drs_job” “test” {

    ...
    

    lifecycle {

    ignore_changes = [
    
      source_db.0.password,destination_db.0.password
    
    ]
    

    }

    }

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

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud