alicloud.dts.MigrationJob
Explore with Pulumi AI
Provides a DTS Migration Job resource.
For information about DTS Migration Job and how to use it, see What is Migration Job.
NOTE: Available since v1.157.0.
Create MigrationJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MigrationJob(name: string, args: MigrationJobArgs, opts?: CustomResourceOptions);
@overload
def MigrationJob(resource_name: str,
args: MigrationJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MigrationJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
dts_instance_id: Optional[str] = None,
data_initialization: Optional[bool] = None,
data_synchronization: Optional[bool] = None,
db_list: Optional[str] = None,
structure_initialization: Optional[bool] = None,
destination_endpoint_engine_name: Optional[str] = None,
source_endpoint_instance_type: Optional[str] = None,
destination_endpoint_instance_type: Optional[str] = None,
source_endpoint_engine_name: Optional[str] = None,
instance_class: Optional[str] = None,
destination_endpoint_instance_id: Optional[str] = None,
destination_endpoint_port: Optional[str] = None,
destination_endpoint_region: Optional[str] = None,
destination_endpoint_user_name: Optional[str] = None,
destination_endpoint_oracle_sid: Optional[str] = None,
checkpoint: Optional[str] = None,
destination_endpoint_ip: Optional[str] = None,
source_endpoint_database_name: Optional[str] = None,
dts_job_name: Optional[str] = None,
source_endpoint_instance_id: Optional[str] = None,
destination_endpoint_password: Optional[str] = None,
source_endpoint_ip: Optional[str] = None,
source_endpoint_oracle_sid: Optional[str] = None,
source_endpoint_owner_id: Optional[str] = None,
source_endpoint_password: Optional[str] = None,
source_endpoint_port: Optional[str] = None,
source_endpoint_region: Optional[str] = None,
source_endpoint_role: Optional[str] = None,
source_endpoint_user_name: Optional[str] = None,
status: Optional[str] = None,
destination_endpoint_database_name: Optional[str] = None)
func NewMigrationJob(ctx *Context, name string, args MigrationJobArgs, opts ...ResourceOption) (*MigrationJob, error)
public MigrationJob(string name, MigrationJobArgs args, CustomResourceOptions? opts = null)
public MigrationJob(String name, MigrationJobArgs args)
public MigrationJob(String name, MigrationJobArgs args, CustomResourceOptions options)
type: alicloud:dts:MigrationJob
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. MigrationJobArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. MigrationJobArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. MigrationJobArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. MigrationJobArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. MigrationJobArgs - 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 migrationJobResource = new AliCloud.Dts.MigrationJob("migrationJobResource", new()
{
DtsInstanceId = "string",
DataInitialization = false,
DataSynchronization = false,
DbList = "string",
StructureInitialization = false,
DestinationEndpointEngineName = "string",
SourceEndpointInstanceType = "string",
DestinationEndpointInstanceType = "string",
SourceEndpointEngineName = "string",
InstanceClass = "string",
DestinationEndpointInstanceId = "string",
DestinationEndpointPort = "string",
DestinationEndpointRegion = "string",
DestinationEndpointUserName = "string",
DestinationEndpointOracleSid = "string",
Checkpoint = "string",
DestinationEndpointIp = "string",
SourceEndpointDatabaseName = "string",
DtsJobName = "string",
SourceEndpointInstanceId = "string",
DestinationEndpointPassword = "string",
SourceEndpointIp = "string",
SourceEndpointOracleSid = "string",
SourceEndpointOwnerId = "string",
SourceEndpointPassword = "string",
SourceEndpointPort = "string",
SourceEndpointRegion = "string",
SourceEndpointRole = "string",
SourceEndpointUserName = "string",
Status = "string",
DestinationEndpointDatabaseName = "string",
});
example, err := dts.NewMigrationJob(ctx, "migrationJobResource", &dts.MigrationJobArgs{
DtsInstanceId: pulumi.String("string"),
DataInitialization: pulumi.Bool(false),
DataSynchronization: pulumi.Bool(false),
DbList: pulumi.String("string"),
StructureInitialization: pulumi.Bool(false),
DestinationEndpointEngineName: pulumi.String("string"),
SourceEndpointInstanceType: pulumi.String("string"),
DestinationEndpointInstanceType: pulumi.String("string"),
SourceEndpointEngineName: pulumi.String("string"),
InstanceClass: pulumi.String("string"),
DestinationEndpointInstanceId: pulumi.String("string"),
DestinationEndpointPort: pulumi.String("string"),
DestinationEndpointRegion: pulumi.String("string"),
DestinationEndpointUserName: pulumi.String("string"),
DestinationEndpointOracleSid: pulumi.String("string"),
Checkpoint: pulumi.String("string"),
DestinationEndpointIp: pulumi.String("string"),
SourceEndpointDatabaseName: pulumi.String("string"),
DtsJobName: pulumi.String("string"),
SourceEndpointInstanceId: pulumi.String("string"),
DestinationEndpointPassword: pulumi.String("string"),
SourceEndpointIp: pulumi.String("string"),
SourceEndpointOracleSid: pulumi.String("string"),
SourceEndpointOwnerId: pulumi.String("string"),
SourceEndpointPassword: pulumi.String("string"),
SourceEndpointPort: pulumi.String("string"),
SourceEndpointRegion: pulumi.String("string"),
SourceEndpointRole: pulumi.String("string"),
SourceEndpointUserName: pulumi.String("string"),
Status: pulumi.String("string"),
DestinationEndpointDatabaseName: pulumi.String("string"),
})
var migrationJobResource = new MigrationJob("migrationJobResource", MigrationJobArgs.builder()
.dtsInstanceId("string")
.dataInitialization(false)
.dataSynchronization(false)
.dbList("string")
.structureInitialization(false)
.destinationEndpointEngineName("string")
.sourceEndpointInstanceType("string")
.destinationEndpointInstanceType("string")
.sourceEndpointEngineName("string")
.instanceClass("string")
.destinationEndpointInstanceId("string")
.destinationEndpointPort("string")
.destinationEndpointRegion("string")
.destinationEndpointUserName("string")
.destinationEndpointOracleSid("string")
.checkpoint("string")
.destinationEndpointIp("string")
.sourceEndpointDatabaseName("string")
.dtsJobName("string")
.sourceEndpointInstanceId("string")
.destinationEndpointPassword("string")
.sourceEndpointIp("string")
.sourceEndpointOracleSid("string")
.sourceEndpointOwnerId("string")
.sourceEndpointPassword("string")
.sourceEndpointPort("string")
.sourceEndpointRegion("string")
.sourceEndpointRole("string")
.sourceEndpointUserName("string")
.status("string")
.destinationEndpointDatabaseName("string")
.build());
migration_job_resource = alicloud.dts.MigrationJob("migrationJobResource",
dts_instance_id="string",
data_initialization=False,
data_synchronization=False,
db_list="string",
structure_initialization=False,
destination_endpoint_engine_name="string",
source_endpoint_instance_type="string",
destination_endpoint_instance_type="string",
source_endpoint_engine_name="string",
instance_class="string",
destination_endpoint_instance_id="string",
destination_endpoint_port="string",
destination_endpoint_region="string",
destination_endpoint_user_name="string",
destination_endpoint_oracle_sid="string",
checkpoint="string",
destination_endpoint_ip="string",
source_endpoint_database_name="string",
dts_job_name="string",
source_endpoint_instance_id="string",
destination_endpoint_password="string",
source_endpoint_ip="string",
source_endpoint_oracle_sid="string",
source_endpoint_owner_id="string",
source_endpoint_password="string",
source_endpoint_port="string",
source_endpoint_region="string",
source_endpoint_role="string",
source_endpoint_user_name="string",
status="string",
destination_endpoint_database_name="string")
const migrationJobResource = new alicloud.dts.MigrationJob("migrationJobResource", {
dtsInstanceId: "string",
dataInitialization: false,
dataSynchronization: false,
dbList: "string",
structureInitialization: false,
destinationEndpointEngineName: "string",
sourceEndpointInstanceType: "string",
destinationEndpointInstanceType: "string",
sourceEndpointEngineName: "string",
instanceClass: "string",
destinationEndpointInstanceId: "string",
destinationEndpointPort: "string",
destinationEndpointRegion: "string",
destinationEndpointUserName: "string",
destinationEndpointOracleSid: "string",
checkpoint: "string",
destinationEndpointIp: "string",
sourceEndpointDatabaseName: "string",
dtsJobName: "string",
sourceEndpointInstanceId: "string",
destinationEndpointPassword: "string",
sourceEndpointIp: "string",
sourceEndpointOracleSid: "string",
sourceEndpointOwnerId: "string",
sourceEndpointPassword: "string",
sourceEndpointPort: "string",
sourceEndpointRegion: "string",
sourceEndpointRole: "string",
sourceEndpointUserName: "string",
status: "string",
destinationEndpointDatabaseName: "string",
});
type: alicloud:dts:MigrationJob
properties:
checkpoint: string
dataInitialization: false
dataSynchronization: false
dbList: string
destinationEndpointDatabaseName: string
destinationEndpointEngineName: string
destinationEndpointInstanceId: string
destinationEndpointInstanceType: string
destinationEndpointIp: string
destinationEndpointOracleSid: string
destinationEndpointPassword: string
destinationEndpointPort: string
destinationEndpointRegion: string
destinationEndpointUserName: string
dtsInstanceId: string
dtsJobName: string
instanceClass: string
sourceEndpointDatabaseName: string
sourceEndpointEngineName: string
sourceEndpointInstanceId: string
sourceEndpointInstanceType: string
sourceEndpointIp: string
sourceEndpointOracleSid: string
sourceEndpointOwnerId: string
sourceEndpointPassword: string
sourceEndpointPort: string
sourceEndpointRegion: string
sourceEndpointRole: string
sourceEndpointUserName: string
status: string
structureInitialization: false
MigrationJob 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 MigrationJob resource accepts the following input properties:
- Data
Initialization This property is required. Changes to this property will trigger replacement.
- Whether to execute DTS supports schema migration.
- Data
Synchronization This property is required. Changes to this property will trigger replacement.
- Whether to perform incremental data migration.
- Db
List This property is required. Changes to this property will trigger replacement.
- Migration object, in the format of JSON strings. For detailed definition instructions, please refer to the description of migration, migration or subscription objects.
- Destination
Endpoint Engine Name This property is required. Changes to this property will trigger replacement.
- The type of destination database. Valid values:
ADS
,ADB30
,AS400
,DATAHUB
,DB2
,GREENPLUM
,KAFKA
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,PostgreSQL
. - Destination
Endpoint Instance Type This property is required. Changes to this property will trigger replacement.
- The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Dts
Instance Id This property is required. Changes to this property will trigger replacement.
- The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - Source
Endpoint Engine Name This property is required. Changes to this property will trigger replacement.
- The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - Source
Endpoint Instance Type This property is required. Changes to this property will trigger replacement.
- The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Structure
Initialization This property is required. Changes to this property will trigger replacement.
- Whether to perform a database table structure to migrate.
- Checkpoint
Changes to this property will trigger replacement.
- Start time in Unix timestamp format.
- Destination
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- Destination
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of destination instance.
- Destination
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- Destination
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- Destination
Endpoint stringPassword - The password of database account.
- Destination
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- Destination
Endpoint Region Changes to this property will trigger replacement.
- The region of destination instance.
- Destination
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- Dts
Job Name Changes to this property will trigger replacement.
- The name of migration job.
- Instance
Class string - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - Source
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- Source
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of source instance.
- Source
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- Source
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- Source
Endpoint Owner Id Changes to this property will trigger replacement.
- The Alibaba Cloud account ID to which the source instance belongs.
- Source
Endpoint stringPassword - The password of database account.
- Source
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- Source
Endpoint Region Changes to this property will trigger replacement.
- The region of source instance.
- Source
Endpoint Role Changes to this property will trigger replacement.
- The name of the role configured for the cloud account to which the source instance belongs.
- Source
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- Status string
- The status of the resource. Valid values:
Migrating
,Suspending
. You can suspend the task by specifyingSuspending
and start the task by specifyingMigrating
.
- Data
Initialization This property is required. Changes to this property will trigger replacement.
- Whether to execute DTS supports schema migration.
- Data
Synchronization This property is required. Changes to this property will trigger replacement.
- Whether to perform incremental data migration.
- Db
List This property is required. Changes to this property will trigger replacement.
- Migration object, in the format of JSON strings. For detailed definition instructions, please refer to the description of migration, migration or subscription objects.
- Destination
Endpoint Engine Name This property is required. Changes to this property will trigger replacement.
- The type of destination database. Valid values:
ADS
,ADB30
,AS400
,DATAHUB
,DB2
,GREENPLUM
,KAFKA
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,PostgreSQL
. - Destination
Endpoint Instance Type This property is required. Changes to this property will trigger replacement.
- The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Dts
Instance Id This property is required. Changes to this property will trigger replacement.
- The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - Source
Endpoint Engine Name This property is required. Changes to this property will trigger replacement.
- The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - Source
Endpoint Instance Type This property is required. Changes to this property will trigger replacement.
- The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Structure
Initialization This property is required. Changes to this property will trigger replacement.
- Whether to perform a database table structure to migrate.
- Checkpoint
Changes to this property will trigger replacement.
- Start time in Unix timestamp format.
- Destination
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- Destination
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of destination instance.
- Destination
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- Destination
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- Destination
Endpoint stringPassword - The password of database account.
- Destination
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- Destination
Endpoint Region Changes to this property will trigger replacement.
- The region of destination instance.
- Destination
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- Dts
Job Name Changes to this property will trigger replacement.
- The name of migration job.
- Instance
Class string - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - Source
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- Source
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of source instance.
- Source
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- Source
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- Source
Endpoint Owner Id Changes to this property will trigger replacement.
- The Alibaba Cloud account ID to which the source instance belongs.
- Source
Endpoint stringPassword - The password of database account.
- Source
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- Source
Endpoint Region Changes to this property will trigger replacement.
- The region of source instance.
- Source
Endpoint Role Changes to this property will trigger replacement.
- The name of the role configured for the cloud account to which the source instance belongs.
- Source
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- Status string
- The status of the resource. Valid values:
Migrating
,Suspending
. You can suspend the task by specifyingSuspending
and start the task by specifyingMigrating
.
- data
Initialization This property is required. Changes to this property will trigger replacement.
- Whether to execute DTS supports schema migration.
- data
Synchronization This property is required. Changes to this property will trigger replacement.
- Whether to perform incremental data migration.
- db
List This property is required. Changes to this property will trigger replacement.
- Migration object, in the format of JSON strings. For detailed definition instructions, please refer to the description of migration, migration or subscription objects.
- destination
Endpoint Engine Name This property is required. Changes to this property will trigger replacement.
- The type of destination database. Valid values:
ADS
,ADB30
,AS400
,DATAHUB
,DB2
,GREENPLUM
,KAFKA
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,PostgreSQL
. - destination
Endpoint Instance Type This property is required. Changes to this property will trigger replacement.
- The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - dts
Instance Id This property is required. Changes to this property will trigger replacement.
- The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - source
Endpoint Engine Name This property is required. Changes to this property will trigger replacement.
- The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source
Endpoint Instance Type This property is required. Changes to this property will trigger replacement.
- The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - structure
Initialization This property is required. Changes to this property will trigger replacement.
- Whether to perform a database table structure to migrate.
- checkpoint
Changes to this property will trigger replacement.
- Start time in Unix timestamp format.
- destination
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- destination
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of destination instance.
- destination
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- destination
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- destination
Endpoint StringPassword - The password of database account.
- destination
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- destination
Endpoint Region Changes to this property will trigger replacement.
- The region of destination instance.
- destination
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- dts
Job Name Changes to this property will trigger replacement.
- The name of migration job.
- instance
Class String - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- source
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of source instance.
- source
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- source
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- source
Endpoint Owner Id Changes to this property will trigger replacement.
- The Alibaba Cloud account ID to which the source instance belongs.
- source
Endpoint StringPassword - The password of database account.
- source
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- source
Endpoint Region Changes to this property will trigger replacement.
- The region of source instance.
- source
Endpoint Role Changes to this property will trigger replacement.
- The name of the role configured for the cloud account to which the source instance belongs.
- source
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- status String
- The status of the resource. Valid values:
Migrating
,Suspending
. You can suspend the task by specifyingSuspending
and start the task by specifyingMigrating
.
- data
Initialization This property is required. Changes to this property will trigger replacement.
- Whether to execute DTS supports schema migration.
- data
Synchronization This property is required. Changes to this property will trigger replacement.
- Whether to perform incremental data migration.
- db
List This property is required. Changes to this property will trigger replacement.
- Migration object, in the format of JSON strings. For detailed definition instructions, please refer to the description of migration, migration or subscription objects.
- destination
Endpoint Engine Name This property is required. Changes to this property will trigger replacement.
- The type of destination database. Valid values:
ADS
,ADB30
,AS400
,DATAHUB
,DB2
,GREENPLUM
,KAFKA
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,PostgreSQL
. - destination
Endpoint Instance Type This property is required. Changes to this property will trigger replacement.
- The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - dts
Instance Id This property is required. Changes to this property will trigger replacement.
- The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - source
Endpoint Engine Name This property is required. Changes to this property will trigger replacement.
- The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source
Endpoint Instance Type This property is required. Changes to this property will trigger replacement.
- The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - structure
Initialization This property is required. Changes to this property will trigger replacement.
- Whether to perform a database table structure to migrate.
- checkpoint
Changes to this property will trigger replacement.
- Start time in Unix timestamp format.
- destination
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- destination
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of destination instance.
- destination
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- destination
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- destination
Endpoint stringPassword - The password of database account.
- destination
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- destination
Endpoint Region Changes to this property will trigger replacement.
- The region of destination instance.
- destination
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- dts
Job Name Changes to this property will trigger replacement.
- The name of migration job.
- instance
Class string - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- source
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of source instance.
- source
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- source
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- source
Endpoint Owner Id Changes to this property will trigger replacement.
- The Alibaba Cloud account ID to which the source instance belongs.
- source
Endpoint stringPassword - The password of database account.
- source
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- source
Endpoint Region Changes to this property will trigger replacement.
- The region of source instance.
- source
Endpoint Role Changes to this property will trigger replacement.
- The name of the role configured for the cloud account to which the source instance belongs.
- source
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- status string
- The status of the resource. Valid values:
Migrating
,Suspending
. You can suspend the task by specifyingSuspending
and start the task by specifyingMigrating
.
- data_
initialization This property is required. Changes to this property will trigger replacement.
- Whether to execute DTS supports schema migration.
- data_
synchronization This property is required. Changes to this property will trigger replacement.
- Whether to perform incremental data migration.
- db_
list This property is required. Changes to this property will trigger replacement.
- Migration object, in the format of JSON strings. For detailed definition instructions, please refer to the description of migration, migration or subscription objects.
- destination_
endpoint_ engine_ name This property is required. Changes to this property will trigger replacement.
- The type of destination database. Valid values:
ADS
,ADB30
,AS400
,DATAHUB
,DB2
,GREENPLUM
,KAFKA
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,PostgreSQL
. - destination_
endpoint_ instance_ type This property is required. Changes to this property will trigger replacement.
- The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - dts_
instance_ id This property is required. Changes to this property will trigger replacement.
- The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - source_
endpoint_ engine_ name This property is required. Changes to this property will trigger replacement.
- The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source_
endpoint_ instance_ type This property is required. Changes to this property will trigger replacement.
- The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - structure_
initialization This property is required. Changes to this property will trigger replacement.
- Whether to perform a database table structure to migrate.
- checkpoint
Changes to this property will trigger replacement.
- Start time in Unix timestamp format.
- destination_
endpoint_ database_ name Changes to this property will trigger replacement.
- The name of migrate the database.
- destination_
endpoint_ instance_ id Changes to this property will trigger replacement.
- The ID of destination instance.
- destination_
endpoint_ ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- destination_
endpoint_ oracle_ sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- destination_
endpoint_ strpassword - The password of database account.
- destination_
endpoint_ port Changes to this property will trigger replacement.
- The port of source endpoint.
- destination_
endpoint_ region Changes to this property will trigger replacement.
- The region of destination instance.
- destination_
endpoint_ user_ name Changes to this property will trigger replacement.
- The username of database account.
- dts_
job_ name Changes to this property will trigger replacement.
- The name of migration job.
- instance_
class str - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source_
endpoint_ database_ name Changes to this property will trigger replacement.
- The name of migrate the database.
- source_
endpoint_ instance_ id Changes to this property will trigger replacement.
- The ID of source instance.
- source_
endpoint_ ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- source_
endpoint_ oracle_ sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- source_
endpoint_ owner_ id Changes to this property will trigger replacement.
- The Alibaba Cloud account ID to which the source instance belongs.
- source_
endpoint_ strpassword - The password of database account.
- source_
endpoint_ port Changes to this property will trigger replacement.
- The port of source endpoint.
- source_
endpoint_ region Changes to this property will trigger replacement.
- The region of source instance.
- source_
endpoint_ role Changes to this property will trigger replacement.
- The name of the role configured for the cloud account to which the source instance belongs.
- source_
endpoint_ user_ name Changes to this property will trigger replacement.
- The username of database account.
- status str
- The status of the resource. Valid values:
Migrating
,Suspending
. You can suspend the task by specifyingSuspending
and start the task by specifyingMigrating
.
- data
Initialization This property is required. Changes to this property will trigger replacement.
- Whether to execute DTS supports schema migration.
- data
Synchronization This property is required. Changes to this property will trigger replacement.
- Whether to perform incremental data migration.
- db
List This property is required. Changes to this property will trigger replacement.
- Migration object, in the format of JSON strings. For detailed definition instructions, please refer to the description of migration, migration or subscription objects.
- destination
Endpoint Engine Name This property is required. Changes to this property will trigger replacement.
- The type of destination database. Valid values:
ADS
,ADB30
,AS400
,DATAHUB
,DB2
,GREENPLUM
,KAFKA
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,PostgreSQL
. - destination
Endpoint Instance Type This property is required. Changes to this property will trigger replacement.
- The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - dts
Instance Id This property is required. Changes to this property will trigger replacement.
- The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - source
Endpoint Engine Name This property is required. Changes to this property will trigger replacement.
- The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source
Endpoint Instance Type This property is required. Changes to this property will trigger replacement.
- The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - structure
Initialization This property is required. Changes to this property will trigger replacement.
- Whether to perform a database table structure to migrate.
- checkpoint
Changes to this property will trigger replacement.
- Start time in Unix timestamp format.
- destination
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- destination
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of destination instance.
- destination
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- destination
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- destination
Endpoint StringPassword - The password of database account.
- destination
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- destination
Endpoint Region Changes to this property will trigger replacement.
- The region of destination instance.
- destination
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- dts
Job Name Changes to this property will trigger replacement.
- The name of migration job.
- instance
Class String - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- source
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of source instance.
- source
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- source
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- source
Endpoint Owner Id Changes to this property will trigger replacement.
- The Alibaba Cloud account ID to which the source instance belongs.
- source
Endpoint StringPassword - The password of database account.
- source
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- source
Endpoint Region Changes to this property will trigger replacement.
- The region of source instance.
- source
Endpoint Role Changes to this property will trigger replacement.
- The name of the role configured for the cloud account to which the source instance belongs.
- source
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- status String
- The status of the resource. Valid values:
Migrating
,Suspending
. You can suspend the task by specifyingSuspending
and start the task by specifyingMigrating
.
Outputs
All input properties are implicitly available as output properties. Additionally, the MigrationJob resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MigrationJob Resource
Get an existing MigrationJob 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?: MigrationJobState, opts?: CustomResourceOptions): MigrationJob
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
checkpoint: Optional[str] = None,
data_initialization: Optional[bool] = None,
data_synchronization: Optional[bool] = None,
db_list: Optional[str] = None,
destination_endpoint_database_name: Optional[str] = None,
destination_endpoint_engine_name: Optional[str] = None,
destination_endpoint_instance_id: Optional[str] = None,
destination_endpoint_instance_type: Optional[str] = None,
destination_endpoint_ip: Optional[str] = None,
destination_endpoint_oracle_sid: Optional[str] = None,
destination_endpoint_password: Optional[str] = None,
destination_endpoint_port: Optional[str] = None,
destination_endpoint_region: Optional[str] = None,
destination_endpoint_user_name: Optional[str] = None,
dts_instance_id: Optional[str] = None,
dts_job_name: Optional[str] = None,
instance_class: Optional[str] = None,
source_endpoint_database_name: Optional[str] = None,
source_endpoint_engine_name: Optional[str] = None,
source_endpoint_instance_id: Optional[str] = None,
source_endpoint_instance_type: Optional[str] = None,
source_endpoint_ip: Optional[str] = None,
source_endpoint_oracle_sid: Optional[str] = None,
source_endpoint_owner_id: Optional[str] = None,
source_endpoint_password: Optional[str] = None,
source_endpoint_port: Optional[str] = None,
source_endpoint_region: Optional[str] = None,
source_endpoint_role: Optional[str] = None,
source_endpoint_user_name: Optional[str] = None,
status: Optional[str] = None,
structure_initialization: Optional[bool] = None) -> MigrationJob
func GetMigrationJob(ctx *Context, name string, id IDInput, state *MigrationJobState, opts ...ResourceOption) (*MigrationJob, error)
public static MigrationJob Get(string name, Input<string> id, MigrationJobState? state, CustomResourceOptions? opts = null)
public static MigrationJob get(String name, Output<String> id, MigrationJobState state, CustomResourceOptions options)
resources: _: type: alicloud:dts:MigrationJob get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Checkpoint
Changes to this property will trigger replacement.
- Start time in Unix timestamp format.
- Data
Initialization Changes to this property will trigger replacement.
- Whether to execute DTS supports schema migration.
- Data
Synchronization Changes to this property will trigger replacement.
- Whether to perform incremental data migration.
- Db
List Changes to this property will trigger replacement.
- Migration object, in the format of JSON strings. For detailed definition instructions, please refer to the description of migration, migration or subscription objects.
- Destination
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- Destination
Endpoint Engine Name Changes to this property will trigger replacement.
- The type of destination database. Valid values:
ADS
,ADB30
,AS400
,DATAHUB
,DB2
,GREENPLUM
,KAFKA
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,PostgreSQL
. - Destination
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of destination instance.
- Destination
Endpoint Instance Type Changes to this property will trigger replacement.
- The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Destination
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- Destination
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- Destination
Endpoint stringPassword - The password of database account.
- Destination
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- Destination
Endpoint Region Changes to this property will trigger replacement.
- The region of destination instance.
- Destination
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- Dts
Instance Id Changes to this property will trigger replacement.
- The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - Dts
Job Name Changes to this property will trigger replacement.
- The name of migration job.
- Instance
Class string - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - Source
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- Source
Endpoint Engine Name Changes to this property will trigger replacement.
- The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - Source
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of source instance.
- Source
Endpoint Instance Type Changes to this property will trigger replacement.
- The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Source
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- Source
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- Source
Endpoint Owner Id Changes to this property will trigger replacement.
- The Alibaba Cloud account ID to which the source instance belongs.
- Source
Endpoint stringPassword - The password of database account.
- Source
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- Source
Endpoint Region Changes to this property will trigger replacement.
- The region of source instance.
- Source
Endpoint Role Changes to this property will trigger replacement.
- The name of the role configured for the cloud account to which the source instance belongs.
- Source
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- Status string
- The status of the resource. Valid values:
Migrating
,Suspending
. You can suspend the task by specifyingSuspending
and start the task by specifyingMigrating
. - Structure
Initialization Changes to this property will trigger replacement.
- Whether to perform a database table structure to migrate.
- Checkpoint
Changes to this property will trigger replacement.
- Start time in Unix timestamp format.
- Data
Initialization Changes to this property will trigger replacement.
- Whether to execute DTS supports schema migration.
- Data
Synchronization Changes to this property will trigger replacement.
- Whether to perform incremental data migration.
- Db
List Changes to this property will trigger replacement.
- Migration object, in the format of JSON strings. For detailed definition instructions, please refer to the description of migration, migration or subscription objects.
- Destination
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- Destination
Endpoint Engine Name Changes to this property will trigger replacement.
- The type of destination database. Valid values:
ADS
,ADB30
,AS400
,DATAHUB
,DB2
,GREENPLUM
,KAFKA
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,PostgreSQL
. - Destination
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of destination instance.
- Destination
Endpoint Instance Type Changes to this property will trigger replacement.
- The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Destination
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- Destination
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- Destination
Endpoint stringPassword - The password of database account.
- Destination
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- Destination
Endpoint Region Changes to this property will trigger replacement.
- The region of destination instance.
- Destination
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- Dts
Instance Id Changes to this property will trigger replacement.
- The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - Dts
Job Name Changes to this property will trigger replacement.
- The name of migration job.
- Instance
Class string - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - Source
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- Source
Endpoint Engine Name Changes to this property will trigger replacement.
- The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - Source
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of source instance.
- Source
Endpoint Instance Type Changes to this property will trigger replacement.
- The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Source
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- Source
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- Source
Endpoint Owner Id Changes to this property will trigger replacement.
- The Alibaba Cloud account ID to which the source instance belongs.
- Source
Endpoint stringPassword - The password of database account.
- Source
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- Source
Endpoint Region Changes to this property will trigger replacement.
- The region of source instance.
- Source
Endpoint Role Changes to this property will trigger replacement.
- The name of the role configured for the cloud account to which the source instance belongs.
- Source
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- Status string
- The status of the resource. Valid values:
Migrating
,Suspending
. You can suspend the task by specifyingSuspending
and start the task by specifyingMigrating
. - Structure
Initialization Changes to this property will trigger replacement.
- Whether to perform a database table structure to migrate.
- checkpoint
Changes to this property will trigger replacement.
- Start time in Unix timestamp format.
- data
Initialization Changes to this property will trigger replacement.
- Whether to execute DTS supports schema migration.
- data
Synchronization Changes to this property will trigger replacement.
- Whether to perform incremental data migration.
- db
List Changes to this property will trigger replacement.
- Migration object, in the format of JSON strings. For detailed definition instructions, please refer to the description of migration, migration or subscription objects.
- destination
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- destination
Endpoint Engine Name Changes to this property will trigger replacement.
- The type of destination database. Valid values:
ADS
,ADB30
,AS400
,DATAHUB
,DB2
,GREENPLUM
,KAFKA
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,PostgreSQL
. - destination
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of destination instance.
- destination
Endpoint Instance Type Changes to this property will trigger replacement.
- The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - destination
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- destination
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- destination
Endpoint StringPassword - The password of database account.
- destination
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- destination
Endpoint Region Changes to this property will trigger replacement.
- The region of destination instance.
- destination
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- dts
Instance Id Changes to this property will trigger replacement.
- The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - dts
Job Name Changes to this property will trigger replacement.
- The name of migration job.
- instance
Class String - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- source
Endpoint Engine Name Changes to this property will trigger replacement.
- The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of source instance.
- source
Endpoint Instance Type Changes to this property will trigger replacement.
- The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - source
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- source
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- source
Endpoint Owner Id Changes to this property will trigger replacement.
- The Alibaba Cloud account ID to which the source instance belongs.
- source
Endpoint StringPassword - The password of database account.
- source
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- source
Endpoint Region Changes to this property will trigger replacement.
- The region of source instance.
- source
Endpoint Role Changes to this property will trigger replacement.
- The name of the role configured for the cloud account to which the source instance belongs.
- source
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- status String
- The status of the resource. Valid values:
Migrating
,Suspending
. You can suspend the task by specifyingSuspending
and start the task by specifyingMigrating
. - structure
Initialization Changes to this property will trigger replacement.
- Whether to perform a database table structure to migrate.
- checkpoint
Changes to this property will trigger replacement.
- Start time in Unix timestamp format.
- data
Initialization Changes to this property will trigger replacement.
- Whether to execute DTS supports schema migration.
- data
Synchronization Changes to this property will trigger replacement.
- Whether to perform incremental data migration.
- db
List Changes to this property will trigger replacement.
- Migration object, in the format of JSON strings. For detailed definition instructions, please refer to the description of migration, migration or subscription objects.
- destination
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- destination
Endpoint Engine Name Changes to this property will trigger replacement.
- The type of destination database. Valid values:
ADS
,ADB30
,AS400
,DATAHUB
,DB2
,GREENPLUM
,KAFKA
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,PostgreSQL
. - destination
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of destination instance.
- destination
Endpoint Instance Type Changes to this property will trigger replacement.
- The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - destination
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- destination
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- destination
Endpoint stringPassword - The password of database account.
- destination
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- destination
Endpoint Region Changes to this property will trigger replacement.
- The region of destination instance.
- destination
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- dts
Instance Id Changes to this property will trigger replacement.
- The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - dts
Job Name Changes to this property will trigger replacement.
- The name of migration job.
- instance
Class string - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- source
Endpoint Engine Name Changes to this property will trigger replacement.
- The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of source instance.
- source
Endpoint Instance Type Changes to this property will trigger replacement.
- The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - source
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- source
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- source
Endpoint Owner Id Changes to this property will trigger replacement.
- The Alibaba Cloud account ID to which the source instance belongs.
- source
Endpoint stringPassword - The password of database account.
- source
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- source
Endpoint Region Changes to this property will trigger replacement.
- The region of source instance.
- source
Endpoint Role Changes to this property will trigger replacement.
- The name of the role configured for the cloud account to which the source instance belongs.
- source
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- status string
- The status of the resource. Valid values:
Migrating
,Suspending
. You can suspend the task by specifyingSuspending
and start the task by specifyingMigrating
. - structure
Initialization Changes to this property will trigger replacement.
- Whether to perform a database table structure to migrate.
- checkpoint
Changes to this property will trigger replacement.
- Start time in Unix timestamp format.
- data_
initialization Changes to this property will trigger replacement.
- Whether to execute DTS supports schema migration.
- data_
synchronization Changes to this property will trigger replacement.
- Whether to perform incremental data migration.
- db_
list Changes to this property will trigger replacement.
- Migration object, in the format of JSON strings. For detailed definition instructions, please refer to the description of migration, migration or subscription objects.
- destination_
endpoint_ database_ name Changes to this property will trigger replacement.
- The name of migrate the database.
- destination_
endpoint_ engine_ name Changes to this property will trigger replacement.
- The type of destination database. Valid values:
ADS
,ADB30
,AS400
,DATAHUB
,DB2
,GREENPLUM
,KAFKA
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,PostgreSQL
. - destination_
endpoint_ instance_ id Changes to this property will trigger replacement.
- The ID of destination instance.
- destination_
endpoint_ instance_ type Changes to this property will trigger replacement.
- The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - destination_
endpoint_ ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- destination_
endpoint_ oracle_ sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- destination_
endpoint_ strpassword - The password of database account.
- destination_
endpoint_ port Changes to this property will trigger replacement.
- The port of source endpoint.
- destination_
endpoint_ region Changes to this property will trigger replacement.
- The region of destination instance.
- destination_
endpoint_ user_ name Changes to this property will trigger replacement.
- The username of database account.
- dts_
instance_ id Changes to this property will trigger replacement.
- The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - dts_
job_ name Changes to this property will trigger replacement.
- The name of migration job.
- instance_
class str - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source_
endpoint_ database_ name Changes to this property will trigger replacement.
- The name of migrate the database.
- source_
endpoint_ engine_ name Changes to this property will trigger replacement.
- The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source_
endpoint_ instance_ id Changes to this property will trigger replacement.
- The ID of source instance.
- source_
endpoint_ instance_ type Changes to this property will trigger replacement.
- The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - source_
endpoint_ ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- source_
endpoint_ oracle_ sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- source_
endpoint_ owner_ id Changes to this property will trigger replacement.
- The Alibaba Cloud account ID to which the source instance belongs.
- source_
endpoint_ strpassword - The password of database account.
- source_
endpoint_ port Changes to this property will trigger replacement.
- The port of source endpoint.
- source_
endpoint_ region Changes to this property will trigger replacement.
- The region of source instance.
- source_
endpoint_ role Changes to this property will trigger replacement.
- The name of the role configured for the cloud account to which the source instance belongs.
- source_
endpoint_ user_ name Changes to this property will trigger replacement.
- The username of database account.
- status str
- The status of the resource. Valid values:
Migrating
,Suspending
. You can suspend the task by specifyingSuspending
and start the task by specifyingMigrating
. - structure_
initialization Changes to this property will trigger replacement.
- Whether to perform a database table structure to migrate.
- checkpoint
Changes to this property will trigger replacement.
- Start time in Unix timestamp format.
- data
Initialization Changes to this property will trigger replacement.
- Whether to execute DTS supports schema migration.
- data
Synchronization Changes to this property will trigger replacement.
- Whether to perform incremental data migration.
- db
List Changes to this property will trigger replacement.
- Migration object, in the format of JSON strings. For detailed definition instructions, please refer to the description of migration, migration or subscription objects.
- destination
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- destination
Endpoint Engine Name Changes to this property will trigger replacement.
- The type of destination database. Valid values:
ADS
,ADB30
,AS400
,DATAHUB
,DB2
,GREENPLUM
,KAFKA
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,PostgreSQL
. - destination
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of destination instance.
- destination
Endpoint Instance Type Changes to this property will trigger replacement.
- The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - destination
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- destination
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- destination
Endpoint StringPassword - The password of database account.
- destination
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- destination
Endpoint Region Changes to this property will trigger replacement.
- The region of destination instance.
- destination
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- dts
Instance Id Changes to this property will trigger replacement.
- The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - dts
Job Name Changes to this property will trigger replacement.
- The name of migration job.
- instance
Class String - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source
Endpoint Database Name Changes to this property will trigger replacement.
- The name of migrate the database.
- source
Endpoint Engine Name Changes to this property will trigger replacement.
- The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source
Endpoint Instance Id Changes to this property will trigger replacement.
- The ID of source instance.
- source
Endpoint Instance Type Changes to this property will trigger replacement.
- The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - source
Endpoint Ip Changes to this property will trigger replacement.
- The ip of source endpoint.
- source
Endpoint Oracle Sid Changes to this property will trigger replacement.
- The SID of Oracle database.
- source
Endpoint Owner Id Changes to this property will trigger replacement.
- The Alibaba Cloud account ID to which the source instance belongs.
- source
Endpoint StringPassword - The password of database account.
- source
Endpoint Port Changes to this property will trigger replacement.
- The port of source endpoint.
- source
Endpoint Region Changes to this property will trigger replacement.
- The region of source instance.
- source
Endpoint Role Changes to this property will trigger replacement.
- The name of the role configured for the cloud account to which the source instance belongs.
- source
Endpoint User Name Changes to this property will trigger replacement.
- The username of database account.
- status String
- The status of the resource. Valid values:
Migrating
,Suspending
. You can suspend the task by specifyingSuspending
and start the task by specifyingMigrating
. - structure
Initialization Changes to this property will trigger replacement.
- Whether to perform a database table structure to migrate.
Import
DTS Migration Job can be imported using the id, e.g.
$ pulumi import alicloud:dts/migrationJob:MigrationJob 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.