1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. dts
  5. MigrationInstance
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

alicloud.dts.MigrationInstance

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi

    Provides a DTS Migration Instance resource.

    For information about DTS Migration Instance and how to use it, see What is Synchronization Instance.

    NOTE: Available since v1.157.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const default = alicloud.getRegions({
        current: true,
    });
    const defaultMigrationInstance = new alicloud.dts.MigrationInstance("default", {
        paymentType: "PayAsYouGo",
        sourceEndpointEngineName: "MySQL",
        sourceEndpointRegion: _default.then(_default => _default.regions?.[0]?.id),
        destinationEndpointEngineName: "MySQL",
        destinationEndpointRegion: _default.then(_default => _default.regions?.[0]?.id),
        instanceClass: "small",
        syncArchitecture: "oneway",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    default = alicloud.get_regions(current=True)
    default_migration_instance = alicloud.dts.MigrationInstance("default",
        payment_type="PayAsYouGo",
        source_endpoint_engine_name="MySQL",
        source_endpoint_region=default.regions[0].id,
        destination_endpoint_engine_name="MySQL",
        destination_endpoint_region=default.regions[0].id,
        instance_class="small",
        sync_architecture="oneway")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dts"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_default, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
    			Current: pulumi.BoolRef(true),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = dts.NewMigrationInstance(ctx, "default", &dts.MigrationInstanceArgs{
    			PaymentType:                   pulumi.String("PayAsYouGo"),
    			SourceEndpointEngineName:      pulumi.String("MySQL"),
    			SourceEndpointRegion:          pulumi.String(_default.Regions[0].Id),
    			DestinationEndpointEngineName: pulumi.String("MySQL"),
    			DestinationEndpointRegion:     pulumi.String(_default.Regions[0].Id),
    			InstanceClass:                 pulumi.String("small"),
    			SyncArchitecture:              pulumi.String("oneway"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = AliCloud.GetRegions.Invoke(new()
        {
            Current = true,
        });
    
        var defaultMigrationInstance = new AliCloud.Dts.MigrationInstance("default", new()
        {
            PaymentType = "PayAsYouGo",
            SourceEndpointEngineName = "MySQL",
            SourceEndpointRegion = @default.Apply(@default => @default.Apply(getRegionsResult => getRegionsResult.Regions[0]?.Id)),
            DestinationEndpointEngineName = "MySQL",
            DestinationEndpointRegion = @default.Apply(@default => @default.Apply(getRegionsResult => getRegionsResult.Regions[0]?.Id)),
            InstanceClass = "small",
            SyncArchitecture = "oneway",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.AlicloudFunctions;
    import com.pulumi.alicloud.inputs.GetRegionsArgs;
    import com.pulumi.alicloud.dts.MigrationInstance;
    import com.pulumi.alicloud.dts.MigrationInstanceArgs;
    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) {
            final var default = AlicloudFunctions.getRegions(GetRegionsArgs.builder()
                .current(true)
                .build());
    
            var defaultMigrationInstance = new MigrationInstance("defaultMigrationInstance", MigrationInstanceArgs.builder()
                .paymentType("PayAsYouGo")
                .sourceEndpointEngineName("MySQL")
                .sourceEndpointRegion(default_.regions()[0].id())
                .destinationEndpointEngineName("MySQL")
                .destinationEndpointRegion(default_.regions()[0].id())
                .instanceClass("small")
                .syncArchitecture("oneway")
                .build());
    
        }
    }
    
    resources:
      defaultMigrationInstance:
        type: alicloud:dts:MigrationInstance
        name: default
        properties:
          paymentType: PayAsYouGo
          sourceEndpointEngineName: MySQL
          sourceEndpointRegion: ${default.regions[0].id}
          destinationEndpointEngineName: MySQL
          destinationEndpointRegion: ${default.regions[0].id}
          instanceClass: small
          syncArchitecture: oneway
    variables:
      default:
        fn::invoke:
          Function: alicloud:getRegions
          Arguments:
            current: true
    

    Create MigrationInstance Resource

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

    Constructor syntax

    new MigrationInstance(name: string, args: MigrationInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def MigrationInstance(resource_name: str,
                          args: MigrationInstanceArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def MigrationInstance(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          destination_endpoint_engine_name: Optional[str] = None,
                          destination_endpoint_region: Optional[str] = None,
                          payment_type: Optional[str] = None,
                          source_endpoint_engine_name: Optional[str] = None,
                          source_endpoint_region: Optional[str] = None,
                          compute_unit: Optional[int] = None,
                          database_count: Optional[int] = None,
                          instance_class: Optional[str] = None,
                          sync_architecture: Optional[str] = None,
                          tags: Optional[Mapping[str, Any]] = None)
    func NewMigrationInstance(ctx *Context, name string, args MigrationInstanceArgs, opts ...ResourceOption) (*MigrationInstance, error)
    public MigrationInstance(string name, MigrationInstanceArgs args, CustomResourceOptions? opts = null)
    public MigrationInstance(String name, MigrationInstanceArgs args)
    public MigrationInstance(String name, MigrationInstanceArgs args, CustomResourceOptions options)
    
    type: alicloud:dts:MigrationInstance
    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 MigrationInstanceArgs
    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 MigrationInstanceArgs
    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 MigrationInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MigrationInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MigrationInstanceArgs
    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 migrationInstanceResource = new AliCloud.Dts.MigrationInstance("migrationInstanceResource", new()
    {
        DestinationEndpointEngineName = "string",
        DestinationEndpointRegion = "string",
        PaymentType = "string",
        SourceEndpointEngineName = "string",
        SourceEndpointRegion = "string",
        ComputeUnit = 0,
        DatabaseCount = 0,
        InstanceClass = "string",
        SyncArchitecture = "string",
        Tags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := dts.NewMigrationInstance(ctx, "migrationInstanceResource", &dts.MigrationInstanceArgs{
    	DestinationEndpointEngineName: pulumi.String("string"),
    	DestinationEndpointRegion:     pulumi.String("string"),
    	PaymentType:                   pulumi.String("string"),
    	SourceEndpointEngineName:      pulumi.String("string"),
    	SourceEndpointRegion:          pulumi.String("string"),
    	ComputeUnit:                   pulumi.Int(0),
    	DatabaseCount:                 pulumi.Int(0),
    	InstanceClass:                 pulumi.String("string"),
    	SyncArchitecture:              pulumi.String("string"),
    	Tags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var migrationInstanceResource = new MigrationInstance("migrationInstanceResource", MigrationInstanceArgs.builder()
        .destinationEndpointEngineName("string")
        .destinationEndpointRegion("string")
        .paymentType("string")
        .sourceEndpointEngineName("string")
        .sourceEndpointRegion("string")
        .computeUnit(0)
        .databaseCount(0)
        .instanceClass("string")
        .syncArchitecture("string")
        .tags(Map.of("string", "any"))
        .build());
    
    migration_instance_resource = alicloud.dts.MigrationInstance("migrationInstanceResource",
        destination_endpoint_engine_name="string",
        destination_endpoint_region="string",
        payment_type="string",
        source_endpoint_engine_name="string",
        source_endpoint_region="string",
        compute_unit=0,
        database_count=0,
        instance_class="string",
        sync_architecture="string",
        tags={
            "string": "any",
        })
    
    const migrationInstanceResource = new alicloud.dts.MigrationInstance("migrationInstanceResource", {
        destinationEndpointEngineName: "string",
        destinationEndpointRegion: "string",
        paymentType: "string",
        sourceEndpointEngineName: "string",
        sourceEndpointRegion: "string",
        computeUnit: 0,
        databaseCount: 0,
        instanceClass: "string",
        syncArchitecture: "string",
        tags: {
            string: "any",
        },
    });
    
    type: alicloud:dts:MigrationInstance
    properties:
        computeUnit: 0
        databaseCount: 0
        destinationEndpointEngineName: string
        destinationEndpointRegion: string
        instanceClass: string
        paymentType: string
        sourceEndpointEngineName: string
        sourceEndpointRegion: string
        syncArchitecture: string
        tags:
            string: any
    

    MigrationInstance Resource Properties

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

    Inputs

    The MigrationInstance resource accepts the following input properties:

    DestinationEndpointEngineName string
    The type of destination engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    DestinationEndpointRegion string
    The region of destination instance. List of supported regions.
    PaymentType string
    The payment type of the resource. Valid values: PayAsYouGo.
    SourceEndpointEngineName string
    The type of source endpoint engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    SourceEndpointRegion string
    The region of source instance.
    ComputeUnit int
    ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
    DatabaseCount int
    The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when source_endpoint_engine_name equals drds.
    InstanceClass string
    The instance class. Valid values: large, medium, small, xlarge, xxlarge. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.
    SyncArchitecture string
    The sync architecture. Valid values: oneway.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    DestinationEndpointEngineName string
    The type of destination engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    DestinationEndpointRegion string
    The region of destination instance. List of supported regions.
    PaymentType string
    The payment type of the resource. Valid values: PayAsYouGo.
    SourceEndpointEngineName string
    The type of source endpoint engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    SourceEndpointRegion string
    The region of source instance.
    ComputeUnit int
    ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
    DatabaseCount int
    The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when source_endpoint_engine_name equals drds.
    InstanceClass string
    The instance class. Valid values: large, medium, small, xlarge, xxlarge. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.
    SyncArchitecture string
    The sync architecture. Valid values: oneway.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    destinationEndpointEngineName String
    The type of destination engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    destinationEndpointRegion String
    The region of destination instance. List of supported regions.
    paymentType String
    The payment type of the resource. Valid values: PayAsYouGo.
    sourceEndpointEngineName String
    The type of source endpoint engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    sourceEndpointRegion String
    The region of source instance.
    computeUnit Integer
    ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
    databaseCount Integer
    The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when source_endpoint_engine_name equals drds.
    instanceClass String
    The instance class. Valid values: large, medium, small, xlarge, xxlarge. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.
    syncArchitecture String
    The sync architecture. Valid values: oneway.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    destinationEndpointEngineName string
    The type of destination engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    destinationEndpointRegion string
    The region of destination instance. List of supported regions.
    paymentType string
    The payment type of the resource. Valid values: PayAsYouGo.
    sourceEndpointEngineName string
    The type of source endpoint engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    sourceEndpointRegion string
    The region of source instance.
    computeUnit number
    ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
    databaseCount number
    The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when source_endpoint_engine_name equals drds.
    instanceClass string
    The instance class. Valid values: large, medium, small, xlarge, xxlarge. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.
    syncArchitecture string
    The sync architecture. Valid values: oneway.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    destination_endpoint_engine_name str
    The type of destination engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    destination_endpoint_region str
    The region of destination instance. List of supported regions.
    payment_type str
    The payment type of the resource. Valid values: PayAsYouGo.
    source_endpoint_engine_name str
    The type of source endpoint engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    source_endpoint_region str
    The region of source instance.
    compute_unit int
    ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
    database_count int
    The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when source_endpoint_engine_name equals drds.
    instance_class str
    The instance class. Valid values: large, medium, small, xlarge, xxlarge. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.
    sync_architecture str
    The sync architecture. Valid values: oneway.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    destinationEndpointEngineName String
    The type of destination engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    destinationEndpointRegion String
    The region of destination instance. List of supported regions.
    paymentType String
    The payment type of the resource. Valid values: PayAsYouGo.
    sourceEndpointEngineName String
    The type of source endpoint engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    sourceEndpointRegion String
    The region of source instance.
    computeUnit Number
    ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
    databaseCount Number
    The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when source_endpoint_engine_name equals drds.
    instanceClass String
    The instance class. Valid values: large, medium, small, xlarge, xxlarge. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.
    syncArchitecture String
    The sync architecture. Valid values: oneway.
    tags Map<Any>
    A mapping of tags to assign to the resource.

    Outputs

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

    DtsInstanceId string
    The ID of the Migration Instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status.
    DtsInstanceId string
    The ID of the Migration Instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status.
    dtsInstanceId String
    The ID of the Migration Instance.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status.
    dtsInstanceId string
    The ID of the Migration Instance.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status.
    dts_instance_id str
    The ID of the Migration Instance.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status.
    dtsInstanceId String
    The ID of the Migration Instance.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status.

    Look up Existing MigrationInstance Resource

    Get an existing MigrationInstance 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?: MigrationInstanceState, opts?: CustomResourceOptions): MigrationInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compute_unit: Optional[int] = None,
            database_count: Optional[int] = None,
            destination_endpoint_engine_name: Optional[str] = None,
            destination_endpoint_region: Optional[str] = None,
            dts_instance_id: Optional[str] = None,
            instance_class: Optional[str] = None,
            payment_type: Optional[str] = None,
            source_endpoint_engine_name: Optional[str] = None,
            source_endpoint_region: Optional[str] = None,
            status: Optional[str] = None,
            sync_architecture: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = None) -> MigrationInstance
    func GetMigrationInstance(ctx *Context, name string, id IDInput, state *MigrationInstanceState, opts ...ResourceOption) (*MigrationInstance, error)
    public static MigrationInstance Get(string name, Input<string> id, MigrationInstanceState? state, CustomResourceOptions? opts = null)
    public static MigrationInstance get(String name, Output<String> id, MigrationInstanceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    ComputeUnit int
    ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
    DatabaseCount int
    The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when source_endpoint_engine_name equals drds.
    DestinationEndpointEngineName string
    The type of destination engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    DestinationEndpointRegion string
    The region of destination instance. List of supported regions.
    DtsInstanceId string
    The ID of the Migration Instance.
    InstanceClass string
    The instance class. Valid values: large, medium, small, xlarge, xxlarge. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.
    PaymentType string
    The payment type of the resource. Valid values: PayAsYouGo.
    SourceEndpointEngineName string
    The type of source endpoint engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    SourceEndpointRegion string
    The region of source instance.
    Status string
    The status.
    SyncArchitecture string
    The sync architecture. Valid values: oneway.
    Tags Dictionary<string, object>
    A mapping of tags to assign to the resource.
    ComputeUnit int
    ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
    DatabaseCount int
    The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when source_endpoint_engine_name equals drds.
    DestinationEndpointEngineName string
    The type of destination engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    DestinationEndpointRegion string
    The region of destination instance. List of supported regions.
    DtsInstanceId string
    The ID of the Migration Instance.
    InstanceClass string
    The instance class. Valid values: large, medium, small, xlarge, xxlarge. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.
    PaymentType string
    The payment type of the resource. Valid values: PayAsYouGo.
    SourceEndpointEngineName string
    The type of source endpoint engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    SourceEndpointRegion string
    The region of source instance.
    Status string
    The status.
    SyncArchitecture string
    The sync architecture. Valid values: oneway.
    Tags map[string]interface{}
    A mapping of tags to assign to the resource.
    computeUnit Integer
    ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
    databaseCount Integer
    The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when source_endpoint_engine_name equals drds.
    destinationEndpointEngineName String
    The type of destination engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    destinationEndpointRegion String
    The region of destination instance. List of supported regions.
    dtsInstanceId String
    The ID of the Migration Instance.
    instanceClass String
    The instance class. Valid values: large, medium, small, xlarge, xxlarge. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.
    paymentType String
    The payment type of the resource. Valid values: PayAsYouGo.
    sourceEndpointEngineName String
    The type of source endpoint engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    sourceEndpointRegion String
    The region of source instance.
    status String
    The status.
    syncArchitecture String
    The sync architecture. Valid values: oneway.
    tags Map<String,Object>
    A mapping of tags to assign to the resource.
    computeUnit number
    ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
    databaseCount number
    The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when source_endpoint_engine_name equals drds.
    destinationEndpointEngineName string
    The type of destination engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    destinationEndpointRegion string
    The region of destination instance. List of supported regions.
    dtsInstanceId string
    The ID of the Migration Instance.
    instanceClass string
    The instance class. Valid values: large, medium, small, xlarge, xxlarge. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.
    paymentType string
    The payment type of the resource. Valid values: PayAsYouGo.
    sourceEndpointEngineName string
    The type of source endpoint engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    sourceEndpointRegion string
    The region of source instance.
    status string
    The status.
    syncArchitecture string
    The sync architecture. Valid values: oneway.
    tags {[key: string]: any}
    A mapping of tags to assign to the resource.
    compute_unit int
    ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
    database_count int
    The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when source_endpoint_engine_name equals drds.
    destination_endpoint_engine_name str
    The type of destination engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    destination_endpoint_region str
    The region of destination instance. List of supported regions.
    dts_instance_id str
    The ID of the Migration Instance.
    instance_class str
    The instance class. Valid values: large, medium, small, xlarge, xxlarge. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.
    payment_type str
    The payment type of the resource. Valid values: PayAsYouGo.
    source_endpoint_engine_name str
    The type of source endpoint engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    source_endpoint_region str
    The region of source instance.
    status str
    The status.
    sync_architecture str
    The sync architecture. Valid values: oneway.
    tags Mapping[str, Any]
    A mapping of tags to assign to the resource.
    computeUnit Number
    ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
    databaseCount Number
    The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when source_endpoint_engine_name equals drds.
    destinationEndpointEngineName String
    The type of destination engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    destinationEndpointRegion String
    The region of destination instance. List of supported regions.
    dtsInstanceId String
    The ID of the Migration Instance.
    instanceClass String
    The instance class. Valid values: large, medium, small, xlarge, xxlarge. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.
    paymentType String
    The payment type of the resource. Valid values: PayAsYouGo.
    sourceEndpointEngineName String
    The type of source endpoint engine. Valid values: ADS, DB2, DRDS, DataHub, Greenplum, MSSQL, MySQL, PolarDB, PostgreSQL, Redis, Tablestore, as400, clickhouse, kafka, mongodb, odps, oracle, polardb_o, polardb_pg, tidb. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.
    sourceEndpointRegion String
    The region of source instance.
    status String
    The status.
    syncArchitecture String
    The sync architecture. Valid values: oneway.
    tags Map<Any>
    A mapping of tags to assign to the resource.

    Import

    DTS Migration Instance can be imported using the id, e.g.

    $ pulumi import alicloud:dts/migrationInstance:MigrationInstance example <id>
    

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

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.57.1 published on Wednesday, Jun 26, 2024 by Pulumi