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_synchronization: Optional[bool] = None,
source_endpoint_instance_type: Optional[str] = None,
db_list: Optional[str] = None,
source_endpoint_engine_name: Optional[str] = None,
destination_endpoint_engine_name: Optional[str] = None,
data_initialization: Optional[bool] = None,
destination_endpoint_instance_type: Optional[str] = None,
structure_initialization: Optional[bool] = None,
destination_endpoint_ip: Optional[str] = None,
checkpoint: 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,
instance_class: Optional[str] = None,
destination_endpoint_instance_id: Optional[str] = None,
source_endpoint_database_name: Optional[str] = None,
destination_endpoint_database_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,
dts_job_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 string
- The unique name of the resource.
- args MigrationJobArgs
- 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 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 string
- The unique name of the resource.
- args MigrationJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MigrationJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
DataSynchronization = false,
SourceEndpointInstanceType = "string",
DbList = "string",
SourceEndpointEngineName = "string",
DestinationEndpointEngineName = "string",
DataInitialization = false,
DestinationEndpointInstanceType = "string",
StructureInitialization = false,
DestinationEndpointIp = "string",
Checkpoint = "string",
DestinationEndpointPort = "string",
DestinationEndpointRegion = "string",
DestinationEndpointUserName = "string",
DestinationEndpointOracleSid = "string",
InstanceClass = "string",
DestinationEndpointInstanceId = "string",
SourceEndpointDatabaseName = "string",
DestinationEndpointDatabaseName = "string",
SourceEndpointInstanceId = "string",
DestinationEndpointPassword = "string",
SourceEndpointIp = "string",
SourceEndpointOracleSid = "string",
SourceEndpointOwnerId = "string",
SourceEndpointPassword = "string",
SourceEndpointPort = "string",
SourceEndpointRegion = "string",
SourceEndpointRole = "string",
SourceEndpointUserName = "string",
Status = "string",
DtsJobName = "string",
});
example, err := dts.NewMigrationJob(ctx, "migrationJobResource", &dts.MigrationJobArgs{
DtsInstanceId: pulumi.String("string"),
DataSynchronization: pulumi.Bool(false),
SourceEndpointInstanceType: pulumi.String("string"),
DbList: pulumi.String("string"),
SourceEndpointEngineName: pulumi.String("string"),
DestinationEndpointEngineName: pulumi.String("string"),
DataInitialization: pulumi.Bool(false),
DestinationEndpointInstanceType: pulumi.String("string"),
StructureInitialization: pulumi.Bool(false),
DestinationEndpointIp: pulumi.String("string"),
Checkpoint: pulumi.String("string"),
DestinationEndpointPort: pulumi.String("string"),
DestinationEndpointRegion: pulumi.String("string"),
DestinationEndpointUserName: pulumi.String("string"),
DestinationEndpointOracleSid: pulumi.String("string"),
InstanceClass: pulumi.String("string"),
DestinationEndpointInstanceId: pulumi.String("string"),
SourceEndpointDatabaseName: pulumi.String("string"),
DestinationEndpointDatabaseName: 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"),
DtsJobName: pulumi.String("string"),
})
var migrationJobResource = new MigrationJob("migrationJobResource", MigrationJobArgs.builder()
.dtsInstanceId("string")
.dataSynchronization(false)
.sourceEndpointInstanceType("string")
.dbList("string")
.sourceEndpointEngineName("string")
.destinationEndpointEngineName("string")
.dataInitialization(false)
.destinationEndpointInstanceType("string")
.structureInitialization(false)
.destinationEndpointIp("string")
.checkpoint("string")
.destinationEndpointPort("string")
.destinationEndpointRegion("string")
.destinationEndpointUserName("string")
.destinationEndpointOracleSid("string")
.instanceClass("string")
.destinationEndpointInstanceId("string")
.sourceEndpointDatabaseName("string")
.destinationEndpointDatabaseName("string")
.sourceEndpointInstanceId("string")
.destinationEndpointPassword("string")
.sourceEndpointIp("string")
.sourceEndpointOracleSid("string")
.sourceEndpointOwnerId("string")
.sourceEndpointPassword("string")
.sourceEndpointPort("string")
.sourceEndpointRegion("string")
.sourceEndpointRole("string")
.sourceEndpointUserName("string")
.status("string")
.dtsJobName("string")
.build());
migration_job_resource = alicloud.dts.MigrationJob("migrationJobResource",
dts_instance_id="string",
data_synchronization=False,
source_endpoint_instance_type="string",
db_list="string",
source_endpoint_engine_name="string",
destination_endpoint_engine_name="string",
data_initialization=False,
destination_endpoint_instance_type="string",
structure_initialization=False,
destination_endpoint_ip="string",
checkpoint="string",
destination_endpoint_port="string",
destination_endpoint_region="string",
destination_endpoint_user_name="string",
destination_endpoint_oracle_sid="string",
instance_class="string",
destination_endpoint_instance_id="string",
source_endpoint_database_name="string",
destination_endpoint_database_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",
dts_job_name="string")
const migrationJobResource = new alicloud.dts.MigrationJob("migrationJobResource", {
dtsInstanceId: "string",
dataSynchronization: false,
sourceEndpointInstanceType: "string",
dbList: "string",
sourceEndpointEngineName: "string",
destinationEndpointEngineName: "string",
dataInitialization: false,
destinationEndpointInstanceType: "string",
structureInitialization: false,
destinationEndpointIp: "string",
checkpoint: "string",
destinationEndpointPort: "string",
destinationEndpointRegion: "string",
destinationEndpointUserName: "string",
destinationEndpointOracleSid: "string",
instanceClass: "string",
destinationEndpointInstanceId: "string",
sourceEndpointDatabaseName: "string",
destinationEndpointDatabaseName: "string",
sourceEndpointInstanceId: "string",
destinationEndpointPassword: "string",
sourceEndpointIp: "string",
sourceEndpointOracleSid: "string",
sourceEndpointOwnerId: "string",
sourceEndpointPassword: "string",
sourceEndpointPort: "string",
sourceEndpointRegion: "string",
sourceEndpointRole: "string",
sourceEndpointUserName: "string",
status: "string",
dtsJobName: "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 bool - Whether to execute DTS supports schema migration.
- Data
Synchronization bool - Whether to perform incremental data migration.
- Db
List string - 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 stringEngine Name - 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 stringInstance Type - The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Dts
Instance stringId - The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - Source
Endpoint stringEngine Name - The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - Source
Endpoint stringInstance Type - The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Structure
Initialization bool - Whether to perform a database table structure to migrate.
- Checkpoint string
- Start time in Unix timestamp format.
- Destination
Endpoint stringDatabase Name - The name of migrate the database.
- Destination
Endpoint stringInstance Id - The ID of destination instance.
- Destination
Endpoint stringIp - The ip of source endpoint.
- Destination
Endpoint stringOracle Sid - The SID of Oracle database.
- Destination
Endpoint stringPassword - The password of database account.
- Destination
Endpoint stringPort - The port of source endpoint.
- Destination
Endpoint stringRegion - The region of destination instance.
- Destination
Endpoint stringUser Name - The username of database account.
- Dts
Job stringName - The name of migration job.
- Instance
Class string - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - Source
Endpoint stringDatabase Name - The name of migrate the database.
- Source
Endpoint stringInstance Id - The ID of source instance.
- Source
Endpoint stringIp - The ip of source endpoint.
- Source
Endpoint stringOracle Sid - The SID of Oracle database.
- Source
Endpoint stringOwner Id - The Alibaba Cloud account ID to which the source instance belongs.
- Source
Endpoint stringPassword - The password of database account.
- Source
Endpoint stringPort - The port of source endpoint.
- Source
Endpoint stringRegion - The region of source instance.
- Source
Endpoint stringRole - The name of the role configured for the cloud account to which the source instance belongs.
- Source
Endpoint stringUser Name - 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 bool - Whether to execute DTS supports schema migration.
- Data
Synchronization bool - Whether to perform incremental data migration.
- Db
List string - 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 stringEngine Name - 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 stringInstance Type - The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Dts
Instance stringId - The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - Source
Endpoint stringEngine Name - The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - Source
Endpoint stringInstance Type - The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Structure
Initialization bool - Whether to perform a database table structure to migrate.
- Checkpoint string
- Start time in Unix timestamp format.
- Destination
Endpoint stringDatabase Name - The name of migrate the database.
- Destination
Endpoint stringInstance Id - The ID of destination instance.
- Destination
Endpoint stringIp - The ip of source endpoint.
- Destination
Endpoint stringOracle Sid - The SID of Oracle database.
- Destination
Endpoint stringPassword - The password of database account.
- Destination
Endpoint stringPort - The port of source endpoint.
- Destination
Endpoint stringRegion - The region of destination instance.
- Destination
Endpoint stringUser Name - The username of database account.
- Dts
Job stringName - The name of migration job.
- Instance
Class string - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - Source
Endpoint stringDatabase Name - The name of migrate the database.
- Source
Endpoint stringInstance Id - The ID of source instance.
- Source
Endpoint stringIp - The ip of source endpoint.
- Source
Endpoint stringOracle Sid - The SID of Oracle database.
- Source
Endpoint stringOwner Id - The Alibaba Cloud account ID to which the source instance belongs.
- Source
Endpoint stringPassword - The password of database account.
- Source
Endpoint stringPort - The port of source endpoint.
- Source
Endpoint stringRegion - The region of source instance.
- Source
Endpoint stringRole - The name of the role configured for the cloud account to which the source instance belongs.
- Source
Endpoint stringUser Name - 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 Boolean - Whether to execute DTS supports schema migration.
- data
Synchronization Boolean - Whether to perform incremental data migration.
- db
List String - 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 StringEngine Name - 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 StringInstance Type - The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - dts
Instance StringId - The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - source
Endpoint StringEngine Name - The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source
Endpoint StringInstance Type - The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - structure
Initialization Boolean - Whether to perform a database table structure to migrate.
- checkpoint String
- Start time in Unix timestamp format.
- destination
Endpoint StringDatabase Name - The name of migrate the database.
- destination
Endpoint StringInstance Id - The ID of destination instance.
- destination
Endpoint StringIp - The ip of source endpoint.
- destination
Endpoint StringOracle Sid - The SID of Oracle database.
- destination
Endpoint StringPassword - The password of database account.
- destination
Endpoint StringPort - The port of source endpoint.
- destination
Endpoint StringRegion - The region of destination instance.
- destination
Endpoint StringUser Name - The username of database account.
- dts
Job StringName - The name of migration job.
- instance
Class String - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source
Endpoint StringDatabase Name - The name of migrate the database.
- source
Endpoint StringInstance Id - The ID of source instance.
- source
Endpoint StringIp - The ip of source endpoint.
- source
Endpoint StringOracle Sid - The SID of Oracle database.
- source
Endpoint StringOwner Id - The Alibaba Cloud account ID to which the source instance belongs.
- source
Endpoint StringPassword - The password of database account.
- source
Endpoint StringPort - The port of source endpoint.
- source
Endpoint StringRegion - The region of source instance.
- source
Endpoint StringRole - The name of the role configured for the cloud account to which the source instance belongs.
- source
Endpoint StringUser Name - 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 boolean - Whether to execute DTS supports schema migration.
- data
Synchronization boolean - Whether to perform incremental data migration.
- db
List string - 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 stringEngine Name - 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 stringInstance Type - The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - dts
Instance stringId - The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - source
Endpoint stringEngine Name - The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source
Endpoint stringInstance Type - The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - structure
Initialization boolean - Whether to perform a database table structure to migrate.
- checkpoint string
- Start time in Unix timestamp format.
- destination
Endpoint stringDatabase Name - The name of migrate the database.
- destination
Endpoint stringInstance Id - The ID of destination instance.
- destination
Endpoint stringIp - The ip of source endpoint.
- destination
Endpoint stringOracle Sid - The SID of Oracle database.
- destination
Endpoint stringPassword - The password of database account.
- destination
Endpoint stringPort - The port of source endpoint.
- destination
Endpoint stringRegion - The region of destination instance.
- destination
Endpoint stringUser Name - The username of database account.
- dts
Job stringName - The name of migration job.
- instance
Class string - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source
Endpoint stringDatabase Name - The name of migrate the database.
- source
Endpoint stringInstance Id - The ID of source instance.
- source
Endpoint stringIp - The ip of source endpoint.
- source
Endpoint stringOracle Sid - The SID of Oracle database.
- source
Endpoint stringOwner Id - The Alibaba Cloud account ID to which the source instance belongs.
- source
Endpoint stringPassword - The password of database account.
- source
Endpoint stringPort - The port of source endpoint.
- source
Endpoint stringRegion - The region of source instance.
- source
Endpoint stringRole - The name of the role configured for the cloud account to which the source instance belongs.
- source
Endpoint stringUser Name - 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 bool - Whether to execute DTS supports schema migration.
- data_
synchronization bool - Whether to perform incremental data migration.
- db_
list str - 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_ strengine_ name - 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_ strinstance_ type - The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - dts_
instance_ strid - The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - source_
endpoint_ strengine_ name - The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source_
endpoint_ strinstance_ type - The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - structure_
initialization bool - Whether to perform a database table structure to migrate.
- checkpoint str
- Start time in Unix timestamp format.
- destination_
endpoint_ strdatabase_ name - The name of migrate the database.
- destination_
endpoint_ strinstance_ id - The ID of destination instance.
- destination_
endpoint_ strip - The ip of source endpoint.
- destination_
endpoint_ stroracle_ sid - The SID of Oracle database.
- destination_
endpoint_ strpassword - The password of database account.
- destination_
endpoint_ strport - The port of source endpoint.
- destination_
endpoint_ strregion - The region of destination instance.
- destination_
endpoint_ struser_ name - The username of database account.
- dts_
job_ strname - The name of migration job.
- instance_
class str - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source_
endpoint_ strdatabase_ name - The name of migrate the database.
- source_
endpoint_ strinstance_ id - The ID of source instance.
- source_
endpoint_ strip - The ip of source endpoint.
- source_
endpoint_ stroracle_ sid - The SID of Oracle database.
- source_
endpoint_ strowner_ id - The Alibaba Cloud account ID to which the source instance belongs.
- source_
endpoint_ strpassword - The password of database account.
- source_
endpoint_ strport - The port of source endpoint.
- source_
endpoint_ strregion - The region of source instance.
- source_
endpoint_ strrole - The name of the role configured for the cloud account to which the source instance belongs.
- source_
endpoint_ struser_ name - 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 Boolean - Whether to execute DTS supports schema migration.
- data
Synchronization Boolean - Whether to perform incremental data migration.
- db
List String - 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 StringEngine Name - 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 StringInstance Type - The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - dts
Instance StringId - The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - source
Endpoint StringEngine Name - The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source
Endpoint StringInstance Type - The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - structure
Initialization Boolean - Whether to perform a database table structure to migrate.
- checkpoint String
- Start time in Unix timestamp format.
- destination
Endpoint StringDatabase Name - The name of migrate the database.
- destination
Endpoint StringInstance Id - The ID of destination instance.
- destination
Endpoint StringIp - The ip of source endpoint.
- destination
Endpoint StringOracle Sid - The SID of Oracle database.
- destination
Endpoint StringPassword - The password of database account.
- destination
Endpoint StringPort - The port of source endpoint.
- destination
Endpoint StringRegion - The region of destination instance.
- destination
Endpoint StringUser Name - The username of database account.
- dts
Job StringName - The name of migration job.
- instance
Class String - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source
Endpoint StringDatabase Name - The name of migrate the database.
- source
Endpoint StringInstance Id - The ID of source instance.
- source
Endpoint StringIp - The ip of source endpoint.
- source
Endpoint StringOracle Sid - The SID of Oracle database.
- source
Endpoint StringOwner Id - The Alibaba Cloud account ID to which the source instance belongs.
- source
Endpoint StringPassword - The password of database account.
- source
Endpoint StringPort - The port of source endpoint.
- source
Endpoint StringRegion - The region of source instance.
- source
Endpoint StringRole - The name of the role configured for the cloud account to which the source instance belongs.
- source
Endpoint StringUser Name - 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)
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.
- Checkpoint string
- Start time in Unix timestamp format.
- Data
Initialization bool - Whether to execute DTS supports schema migration.
- Data
Synchronization bool - Whether to perform incremental data migration.
- Db
List string - 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 stringDatabase Name - The name of migrate the database.
- Destination
Endpoint stringEngine Name - 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 stringInstance Id - The ID of destination instance.
- Destination
Endpoint stringInstance Type - The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Destination
Endpoint stringIp - The ip of source endpoint.
- Destination
Endpoint stringOracle Sid - The SID of Oracle database.
- Destination
Endpoint stringPassword - The password of database account.
- Destination
Endpoint stringPort - The port of source endpoint.
- Destination
Endpoint stringRegion - The region of destination instance.
- Destination
Endpoint stringUser Name - The username of database account.
- Dts
Instance stringId - The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - Dts
Job stringName - The name of migration job.
- Instance
Class string - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - Source
Endpoint stringDatabase Name - The name of migrate the database.
- Source
Endpoint stringEngine Name - The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - Source
Endpoint stringInstance Id - The ID of source instance.
- Source
Endpoint stringInstance Type - The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Source
Endpoint stringIp - The ip of source endpoint.
- Source
Endpoint stringOracle Sid - The SID of Oracle database.
- Source
Endpoint stringOwner Id - The Alibaba Cloud account ID to which the source instance belongs.
- Source
Endpoint stringPassword - The password of database account.
- Source
Endpoint stringPort - The port of source endpoint.
- Source
Endpoint stringRegion - The region of source instance.
- Source
Endpoint stringRole - The name of the role configured for the cloud account to which the source instance belongs.
- Source
Endpoint stringUser Name - 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 bool - Whether to perform a database table structure to migrate.
- Checkpoint string
- Start time in Unix timestamp format.
- Data
Initialization bool - Whether to execute DTS supports schema migration.
- Data
Synchronization bool - Whether to perform incremental data migration.
- Db
List string - 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 stringDatabase Name - The name of migrate the database.
- Destination
Endpoint stringEngine Name - 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 stringInstance Id - The ID of destination instance.
- Destination
Endpoint stringInstance Type - The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Destination
Endpoint stringIp - The ip of source endpoint.
- Destination
Endpoint stringOracle Sid - The SID of Oracle database.
- Destination
Endpoint stringPassword - The password of database account.
- Destination
Endpoint stringPort - The port of source endpoint.
- Destination
Endpoint stringRegion - The region of destination instance.
- Destination
Endpoint stringUser Name - The username of database account.
- Dts
Instance stringId - The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - Dts
Job stringName - The name of migration job.
- Instance
Class string - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - Source
Endpoint stringDatabase Name - The name of migrate the database.
- Source
Endpoint stringEngine Name - The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - Source
Endpoint stringInstance Id - The ID of source instance.
- Source
Endpoint stringInstance Type - The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - Source
Endpoint stringIp - The ip of source endpoint.
- Source
Endpoint stringOracle Sid - The SID of Oracle database.
- Source
Endpoint stringOwner Id - The Alibaba Cloud account ID to which the source instance belongs.
- Source
Endpoint stringPassword - The password of database account.
- Source
Endpoint stringPort - The port of source endpoint.
- Source
Endpoint stringRegion - The region of source instance.
- Source
Endpoint stringRole - The name of the role configured for the cloud account to which the source instance belongs.
- Source
Endpoint stringUser Name - 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 bool - Whether to perform a database table structure to migrate.
- checkpoint String
- Start time in Unix timestamp format.
- data
Initialization Boolean - Whether to execute DTS supports schema migration.
- data
Synchronization Boolean - Whether to perform incremental data migration.
- db
List String - 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 StringDatabase Name - The name of migrate the database.
- destination
Endpoint StringEngine Name - 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 StringInstance Id - The ID of destination instance.
- destination
Endpoint StringInstance Type - The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - destination
Endpoint StringIp - The ip of source endpoint.
- destination
Endpoint StringOracle Sid - The SID of Oracle database.
- destination
Endpoint StringPassword - The password of database account.
- destination
Endpoint StringPort - The port of source endpoint.
- destination
Endpoint StringRegion - The region of destination instance.
- destination
Endpoint StringUser Name - The username of database account.
- dts
Instance StringId - The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - dts
Job StringName - The name of migration job.
- instance
Class String - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source
Endpoint StringDatabase Name - The name of migrate the database.
- source
Endpoint StringEngine Name - The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source
Endpoint StringInstance Id - The ID of source instance.
- source
Endpoint StringInstance Type - The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - source
Endpoint StringIp - The ip of source endpoint.
- source
Endpoint StringOracle Sid - The SID of Oracle database.
- source
Endpoint StringOwner Id - The Alibaba Cloud account ID to which the source instance belongs.
- source
Endpoint StringPassword - The password of database account.
- source
Endpoint StringPort - The port of source endpoint.
- source
Endpoint StringRegion - The region of source instance.
- source
Endpoint StringRole - The name of the role configured for the cloud account to which the source instance belongs.
- source
Endpoint StringUser Name - 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 Boolean - Whether to perform a database table structure to migrate.
- checkpoint string
- Start time in Unix timestamp format.
- data
Initialization boolean - Whether to execute DTS supports schema migration.
- data
Synchronization boolean - Whether to perform incremental data migration.
- db
List string - 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 stringDatabase Name - The name of migrate the database.
- destination
Endpoint stringEngine Name - 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 stringInstance Id - The ID of destination instance.
- destination
Endpoint stringInstance Type - The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - destination
Endpoint stringIp - The ip of source endpoint.
- destination
Endpoint stringOracle Sid - The SID of Oracle database.
- destination
Endpoint stringPassword - The password of database account.
- destination
Endpoint stringPort - The port of source endpoint.
- destination
Endpoint stringRegion - The region of destination instance.
- destination
Endpoint stringUser Name - The username of database account.
- dts
Instance stringId - The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - dts
Job stringName - The name of migration job.
- instance
Class string - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source
Endpoint stringDatabase Name - The name of migrate the database.
- source
Endpoint stringEngine Name - The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source
Endpoint stringInstance Id - The ID of source instance.
- source
Endpoint stringInstance Type - The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - source
Endpoint stringIp - The ip of source endpoint.
- source
Endpoint stringOracle Sid - The SID of Oracle database.
- source
Endpoint stringOwner Id - The Alibaba Cloud account ID to which the source instance belongs.
- source
Endpoint stringPassword - The password of database account.
- source
Endpoint stringPort - The port of source endpoint.
- source
Endpoint stringRegion - The region of source instance.
- source
Endpoint stringRole - The name of the role configured for the cloud account to which the source instance belongs.
- source
Endpoint stringUser Name - 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 boolean - Whether to perform a database table structure to migrate.
- checkpoint str
- Start time in Unix timestamp format.
- data_
initialization bool - Whether to execute DTS supports schema migration.
- data_
synchronization bool - Whether to perform incremental data migration.
- db_
list str - 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_ strdatabase_ name - The name of migrate the database.
- destination_
endpoint_ strengine_ name - 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_ strinstance_ id - The ID of destination instance.
- destination_
endpoint_ strinstance_ type - The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - destination_
endpoint_ strip - The ip of source endpoint.
- destination_
endpoint_ stroracle_ sid - The SID of Oracle database.
- destination_
endpoint_ strpassword - The password of database account.
- destination_
endpoint_ strport - The port of source endpoint.
- destination_
endpoint_ strregion - The region of destination instance.
- destination_
endpoint_ struser_ name - The username of database account.
- dts_
instance_ strid - The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - dts_
job_ strname - The name of migration job.
- instance_
class str - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source_
endpoint_ strdatabase_ name - The name of migrate the database.
- source_
endpoint_ strengine_ name - The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source_
endpoint_ strinstance_ id - The ID of source instance.
- source_
endpoint_ strinstance_ type - The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - source_
endpoint_ strip - The ip of source endpoint.
- source_
endpoint_ stroracle_ sid - The SID of Oracle database.
- source_
endpoint_ strowner_ id - The Alibaba Cloud account ID to which the source instance belongs.
- source_
endpoint_ strpassword - The password of database account.
- source_
endpoint_ strport - The port of source endpoint.
- source_
endpoint_ strregion - The region of source instance.
- source_
endpoint_ strrole - The name of the role configured for the cloud account to which the source instance belongs.
- source_
endpoint_ struser_ name - 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 bool - Whether to perform a database table structure to migrate.
- checkpoint String
- Start time in Unix timestamp format.
- data
Initialization Boolean - Whether to execute DTS supports schema migration.
- data
Synchronization Boolean - Whether to perform incremental data migration.
- db
List String - 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 StringDatabase Name - The name of migrate the database.
- destination
Endpoint StringEngine Name - 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 StringInstance Id - The ID of destination instance.
- destination
Endpoint StringInstance Type - The type of destination instance. Valid values:
ADS
,CEN
,DATAHUB
,DG
,ECS
,EXPRESS
,GREENPLUM
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - destination
Endpoint StringIp - The ip of source endpoint.
- destination
Endpoint StringOracle Sid - The SID of Oracle database.
- destination
Endpoint StringPassword - The password of database account.
- destination
Endpoint StringPort - The port of source endpoint.
- destination
Endpoint StringRegion - The region of destination instance.
- destination
Endpoint StringUser Name - The username of database account.
- dts
Instance StringId - The Migration instance ID. The ID of
alicloud.dts.MigrationInstance
. - dts
Job StringName - The name of migration job.
- instance
Class String - The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. - source
Endpoint StringDatabase Name - The name of migrate the database.
- source
Endpoint StringEngine Name - The type of source database. Valid values:
AS400
,DB2
,DMSPOLARDB
,HBASE
,MONGODB
,MSSQL
,MySQL
,ORACLE
,PolarDB
,POLARDBX20
,POLARDB_O
,POSTGRESQL
,TERADATA
. - source
Endpoint StringInstance Id - The ID of source instance.
- source
Endpoint StringInstance Type - The type of source instance. Valid values:
CEN
,DG
,DISTRIBUTED_DMSLOGICDB
,ECS
,EXPRESS
,MONGODB
,OTHER
,PolarDB
,POLARDBX20
,RDS
. - source
Endpoint StringIp - The ip of source endpoint.
- source
Endpoint StringOracle Sid - The SID of Oracle database.
- source
Endpoint StringOwner Id - The Alibaba Cloud account ID to which the source instance belongs.
- source
Endpoint StringPassword - The password of database account.
- source
Endpoint StringPort - The port of source endpoint.
- source
Endpoint StringRegion - The region of source instance.
- source
Endpoint StringRole - The name of the role configured for the cloud account to which the source instance belongs.
- source
Endpoint StringUser Name - 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 Boolean - 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.