Parameter | Type | Required | Example | Description |
Action | String | Yes | CreateDtsInstance | The operation that you want to perform. Set the value to CreateDtsInstance. |
JobId | String | No | bi6e22ay243**** | The task ID. You can call the ConfigureDtsJob operation to obtain the task ID from DtsJobId. Note If this parameter is specified, you do not need to specify SourceRegion, DestinationRegion, Type, SourceEndpointEngineName, or DestinationEndpointEngineName. Even if these parameters are specified, the value of JobId takes precedence. |
InstanceClass | String | No | xxlarge | The instance class. DTS supports the following instance classes for a data migration instance: xxlarge, xlarge, large, medium, and small. Valid values of a data synchronization instance: large, medium, small, and micro.
|
PayType | String | Yes | PrePaid | The billing method. Valid values: PrePaid: subscription. PostPaid: pay-as-you-go.
|
Period | String | No | Month | The unit of the subscription duration. Valid values: Year and Month. Note This parameter is valid and required only if PayType is set to PrePaid. |
SyncArchitecture | String | No | oneway | The synchronization topology. Valid values: |
AutoStart | Boolean | No | false | Specifies whether to automatically start the task after the DTS instance is purchased. Valid values: Note This parameter can be set to true and take effect only if you specify a valid value for JobId. |
UsedTime | Integer | No | 5 | The subscription duration. Valid values if Period is set to Month: 1, 2, 3, 4, 5, 6, 7, 8, and 9. Valid values if Period is set to Year: 1, 2, 3, and 5.
|
Quantity | Integer | No | 1 | The number of DTS instances that you want to purchase. Note Only a single instance can be purchased each time. |
AutoPay | Boolean | No | false | Specifies whether to automatically renew the DTS instance when it expires. Valid values: |
Type | String | No | SYNC | The type of the DTS instance. Valid values: |
DatabaseCount | Integer | No | 3 | The number of private custom ApsaraDB RDS instances in PolarDB-X. Default value: 1. Note You must specify this parameter only if SourceEndpointEngineName is set to drds. |
SourceRegion | String | No | cn-hangzhou | The ID of the region in which the source instance resides. For more information, see Supported regions. Note You must specify a valid value for this parameter or for JobId. |
DestinationRegion | String | No | cn-hangzhou | The ID of the region in which the destination instance resides. For more information, see Supported regions. Note You must specify a valid value for this parameter or for JobId. |
SourceEndpointEngineName | String | No | MySQL | The database engine of the source instance. Valid values: MySQL: ApsaraDB RDS for MySQL instance or self-managed MySQL database. PolarDB: PolarDB for MySQL cluster. polardb_o: PolarDB for Oracle cluster. polardb_pg: PolarDB for PostgreSQL cluster. Redis: Tair (Redis OSS-Compatible) instance or self-managed Redis database. DRDS: PolarDB-X 1.0 or PolarDB-X 2.0 instance. PostgreSQL: self-managed PostgreSQL database. odps: MaxCompute project. oracle: self-managed Oracle database. mongodb: ApsaraDB for MongoDB instance or self-managed MongoDB database. tidb: TiDB database. ADS: AnalyticDB for MySQL V2.0 cluster. ADB30: AnalyticDB for MySQL V3.0 cluster. Greenplum: AnalyticDB for PostgreSQL instance. MSSQL: ApsaraDB RDS for SQL Server instance or self-managed SQL Server database. kafka: ApsaraMQ for Kafka instance or self-managed Kafka cluster. DataHub: DataHub project. DB2: self-managed Db2 for LUW database. as400: Db2 for i (AS/400) database. Tablestore: Tablestore instance. OceanBase: ApsaraDB for OceanBase (Compatible with MySQL) database, which is supported only in data migration instances.
|
DestinationEndpointEngineName | String | No | MySQL | The database engine of the destination instance. Valid values: MySQL: ApsaraDB RDS for MySQL instance or self-managed MySQL database. PolarDB: PolarDB for MySQL cluster. polardb_o: PolarDB for Oracle cluster. polardb_pg: PolarDB for PostgreSQL cluster. Redis: Tair (Redis OSS-Compatible) instance or self-managed Redis database. DRDS: PolarDB-X 1.0 or PolarDB-X 2.0 instance. PostgreSQL: self-managed PostgreSQL database. odps: MaxCompute project. oracle: self-managed Oracle database. mongodb: ApsaraDB for MongoDB instance or self-managed MongoDB database. tidb: TiDB database. ADS: AnalyticDB for MySQL V2.0 cluster. ADB30: AnalyticDB for MySQL V3.0 cluster. Greenplum: AnalyticDB for PostgreSQL instance. MSSQL: ApsaraDB RDS for SQL Server instance or self-managed SQL Server database. kafka: ApsaraMQ for Kafka instance or self-managed Kafka cluster. DataHub: DataHub project. DB2: self-managed Db2 for LUW database. as400: Db2 for i (AS/400) database. Tablestore: Tablestore instance.
|
ComputeUnit | Integer | No | 5 | The specifications of the extract, transform, and load (ETL) instance. The unit is compute unit (CU). One CU is equal to 1 vCPU and 4 GB of memory. The value of this parameter must be an integer greater than or equal to 2. |
RegionId | String | No | cn-hangzhou | The ID of the region in which the DTS instance resides. For more information, see Supported regions. |
FeeType | String | No | ONLY_CONFIGURATION_FEE | The billing type for a change tracking instance. Valid values: ONLY_CONFIGURATION_FEE and CONFIGURATION_FEE_AND_DATA_FEE. ONLY_CONFIGURATION_FEE: charges only configuration fees. CONFIGURATION_FEE_AND_DATA_FEE: charges configuration fees and data traffic fees. |
Du | Integer | No | 30 | The number of DTS units (DUs) that are assigned to a DTS task that is run on a DTS dedicated cluster. Valid values: 1 to 100. Note The value of this property must be within the range of the number of DUs available for the DTS dedicated cluster. For more information about DTS dedicated clusters, see What is a DTS dedicated cluster?
|
ResourceGroupId | String | No | rg-acfmzawhxxc**** | The resource group ID. |
MinDu | double | No | 1 | The minimum number of DUs. Note This parameter is supported only for serverless instances. |
MaxDu | double | No | 16 | The maximum number of DUs. Note This parameter is supported only for serverless instances. |
DtsRegion | String | No | cn-hangzhou | The region ID of the DTS instance. Set this parameter to the value of RegionId. |