Alibaba Cloud v3.37.0, May 15 23
Alibaba Cloud v3.37.0, May 15 23
alicloud.dts.Instance
Explore with Pulumi AI
Provides a Dts Instance resource.
For information about Dts Instance and how to use it, see What is Instance.
NOTE: Available in v1.198.0+.
Example Usage
Basic Usage
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.dts.Instance;
import com.pulumi.alicloud.dts.InstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var defaultResourceGroups = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
.status("OK")
.build());
var defaultInstance = new Instance("defaultInstance", InstanceArgs.builder()
.type("sync")
.resourceGroupId(defaultResourceGroups.applyValue(getResourceGroupsResult -> getResourceGroupsResult.ids()[0]))
.paymentType("PayAsYouGo")
.instanceClass("large")
.sourceEndpointEngineName("MySQL")
.sourceRegion("cn-hangzhou")
.destinationEndpointEngineName("MySQL")
.region("cn-hangzhou")
.build());
}
}
Coming soon!
Coming soon!
resources:
defaultInstance:
type: alicloud:dts:Instance
properties:
type: sync
resourceGroupId: ${defaultResourceGroups.ids[0]}
paymentType: PayAsYouGo
instanceClass: large
sourceEndpointEngineName: MySQL
sourceRegion: cn-hangzhou
destinationEndpointEngineName: MySQL
region: cn-hangzhou
variables:
defaultResourceGroups:
fn::invoke:
Function: alicloud:resourcemanager:getResourceGroups
Arguments:
status: OK
Create Instance Resource
new Instance(name: string, args?: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
auto_pay: Optional[bool] = None,
auto_start: Optional[bool] = None,
compute_unit: Optional[int] = None,
database_count: Optional[int] = None,
destination_endpoint_engine_name: Optional[str] = None,
destination_region: Optional[str] = None,
du: Optional[int] = None,
fee_type: Optional[str] = None,
instance_class: Optional[str] = None,
job_id: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[str] = None,
resource_group_id: Optional[str] = None,
source_endpoint_engine_name: Optional[str] = None,
source_region: Optional[str] = None,
sync_architecture: Optional[str] = None,
synchronization_direction: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
type: Optional[str] = None,
used_time: Optional[int] = None)
@overload
def Instance(resource_name: str,
args: Optional[InstanceArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewInstance(ctx *Context, name string, args *InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs? args = null, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: alicloud:dts:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- 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 InstanceArgs
- 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 InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Instance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Instance resource accepts the following input properties:
- Auto
Pay bool Whether to automatically renew the fee when it expires. Valid values:
- false: No, the default value.
- true: Yes.
- Auto
Start bool Whether to start the task automatically after the purchase is completed. Value:
- false: No, the default value.
- true: Yes.
- Compute
Unit int Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. NOTE: Enter this parameter and enable ETL to clean and convert data.
- Database
Count int The number of private custom RDS instances in the PolarDB-X. The default value is 1. NOTE: This parameter is required only when source_endpoint_engine_name is DRDS.
- Destination
Endpoint stringEngine Name The target database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute project.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- Destination
Region string The target instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- Du int
Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: 1 ~ 100. NOTE: The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
- Fee
Type string Subscription billing type, Valid values:
ONLY_CONFIGURATION_FEE
: charges only configuration fees;CONFIGURATION_FEE_AND_DATA_FEE
: charges configuration fees and data traffic fees.- Instance
Class string The type of the migration or synchronization instance.
- The specifications of the migration instance: xxlarge, xlarge, large, medium, small.
- The types of synchronization instances: large, medium, small, micro.
- NOTE: For performance descriptions of different specifications, see Data Migration Link Specifications and Data Synchronization Link Specifications.
- Job
Id string The ID of the task obtained by calling the ConfigureDtsJob operation (DtsJobId).> After you pass in this parameter, you do not need to pass the source_region, destination_region, type, source_endpoint_engine_name, or destination_endpoint_engine_name parameters. Even if the input is passed in, the configuration in job_id shall prevail.
- Payment
Type string The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- Period string
The billing method of the subscription instance. Value:
Year
,Month
. NOTE: This parameter is valid and must be passed in only whenpayment_type
isSubscription
.- Resource
Group stringId Resource Group ID.
- Source
Endpoint stringEngine Name Source instance database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- Source
Region string The source instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- Sync
Architecture string Synchronization topology, value:
- oneway: one-way synchronization, the default value.
- bidirectional: two-way synchronization.
- Synchronization
Direction string The synchronization direction. Default value:
Forward
. Valid values:- Dictionary<string, object>
The tag value corresponding to the tag key.See the following
Block Tags
.- Type string
The instance type. Valid values:
- migration: MIGRATION.
- sync: synchronization.
- subscribe: SUBSCRIBE.
- NOTE: This parameter or job_id must be passed in.
- Used
Time int Prepaid instance purchase duration.
- When period is Month, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- When Period is Year, the values are 1, 2, 3, and 5.
- NOTE:
- This parameter is valid and must be passed in only when payment_type is
Subscription
. - The billing method of the subscription instance. You can set the parameter
period
.
- Auto
Pay bool Whether to automatically renew the fee when it expires. Valid values:
- false: No, the default value.
- true: Yes.
- Auto
Start bool Whether to start the task automatically after the purchase is completed. Value:
- false: No, the default value.
- true: Yes.
- Compute
Unit int Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. NOTE: Enter this parameter and enable ETL to clean and convert data.
- Database
Count int The number of private custom RDS instances in the PolarDB-X. The default value is 1. NOTE: This parameter is required only when source_endpoint_engine_name is DRDS.
- Destination
Endpoint stringEngine Name The target database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute project.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- Destination
Region string The target instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- Du int
Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: 1 ~ 100. NOTE: The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
- Fee
Type string Subscription billing type, Valid values:
ONLY_CONFIGURATION_FEE
: charges only configuration fees;CONFIGURATION_FEE_AND_DATA_FEE
: charges configuration fees and data traffic fees.- Instance
Class string The type of the migration or synchronization instance.
- The specifications of the migration instance: xxlarge, xlarge, large, medium, small.
- The types of synchronization instances: large, medium, small, micro.
- NOTE: For performance descriptions of different specifications, see Data Migration Link Specifications and Data Synchronization Link Specifications.
- Job
Id string The ID of the task obtained by calling the ConfigureDtsJob operation (DtsJobId).> After you pass in this parameter, you do not need to pass the source_region, destination_region, type, source_endpoint_engine_name, or destination_endpoint_engine_name parameters. Even if the input is passed in, the configuration in job_id shall prevail.
- Payment
Type string The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- Period string
The billing method of the subscription instance. Value:
Year
,Month
. NOTE: This parameter is valid and must be passed in only whenpayment_type
isSubscription
.- Resource
Group stringId Resource Group ID.
- Source
Endpoint stringEngine Name Source instance database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- Source
Region string The source instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- Sync
Architecture string Synchronization topology, value:
- oneway: one-way synchronization, the default value.
- bidirectional: two-way synchronization.
- Synchronization
Direction string The synchronization direction. Default value:
Forward
. Valid values:- map[string]interface{}
The tag value corresponding to the tag key.See the following
Block Tags
.- Type string
The instance type. Valid values:
- migration: MIGRATION.
- sync: synchronization.
- subscribe: SUBSCRIBE.
- NOTE: This parameter or job_id must be passed in.
- Used
Time int Prepaid instance purchase duration.
- When period is Month, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- When Period is Year, the values are 1, 2, 3, and 5.
- NOTE:
- This parameter is valid and must be passed in only when payment_type is
Subscription
. - The billing method of the subscription instance. You can set the parameter
period
.
- auto
Pay Boolean Whether to automatically renew the fee when it expires. Valid values:
- false: No, the default value.
- true: Yes.
- auto
Start Boolean Whether to start the task automatically after the purchase is completed. Value:
- false: No, the default value.
- true: Yes.
- compute
Unit Integer Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. NOTE: Enter this parameter and enable ETL to clean and convert data.
- database
Count Integer The number of private custom RDS instances in the PolarDB-X. The default value is 1. NOTE: This parameter is required only when source_endpoint_engine_name is DRDS.
- destination
Endpoint StringEngine Name The target database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute project.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- destination
Region String The target instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- du Integer
Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: 1 ~ 100. NOTE: The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
- fee
Type String Subscription billing type, Valid values:
ONLY_CONFIGURATION_FEE
: charges only configuration fees;CONFIGURATION_FEE_AND_DATA_FEE
: charges configuration fees and data traffic fees.- instance
Class String The type of the migration or synchronization instance.
- The specifications of the migration instance: xxlarge, xlarge, large, medium, small.
- The types of synchronization instances: large, medium, small, micro.
- NOTE: For performance descriptions of different specifications, see Data Migration Link Specifications and Data Synchronization Link Specifications.
- job
Id String The ID of the task obtained by calling the ConfigureDtsJob operation (DtsJobId).> After you pass in this parameter, you do not need to pass the source_region, destination_region, type, source_endpoint_engine_name, or destination_endpoint_engine_name parameters. Even if the input is passed in, the configuration in job_id shall prevail.
- payment
Type String The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- period String
The billing method of the subscription instance. Value:
Year
,Month
. NOTE: This parameter is valid and must be passed in only whenpayment_type
isSubscription
.- resource
Group StringId Resource Group ID.
- source
Endpoint StringEngine Name Source instance database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- source
Region String The source instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- sync
Architecture String Synchronization topology, value:
- oneway: one-way synchronization, the default value.
- bidirectional: two-way synchronization.
- synchronization
Direction String The synchronization direction. Default value:
Forward
. Valid values:- Map<String,Object>
The tag value corresponding to the tag key.See the following
Block Tags
.- type String
The instance type. Valid values:
- migration: MIGRATION.
- sync: synchronization.
- subscribe: SUBSCRIBE.
- NOTE: This parameter or job_id must be passed in.
- used
Time Integer Prepaid instance purchase duration.
- When period is Month, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- When Period is Year, the values are 1, 2, 3, and 5.
- NOTE:
- This parameter is valid and must be passed in only when payment_type is
Subscription
. - The billing method of the subscription instance. You can set the parameter
period
.
- auto
Pay boolean Whether to automatically renew the fee when it expires. Valid values:
- false: No, the default value.
- true: Yes.
- auto
Start boolean Whether to start the task automatically after the purchase is completed. Value:
- false: No, the default value.
- true: Yes.
- compute
Unit number Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. NOTE: Enter this parameter and enable ETL to clean and convert data.
- database
Count number The number of private custom RDS instances in the PolarDB-X. The default value is 1. NOTE: This parameter is required only when source_endpoint_engine_name is DRDS.
- destination
Endpoint stringEngine Name The target database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute project.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- destination
Region string The target instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- du number
Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: 1 ~ 100. NOTE: The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
- fee
Type string Subscription billing type, Valid values:
ONLY_CONFIGURATION_FEE
: charges only configuration fees;CONFIGURATION_FEE_AND_DATA_FEE
: charges configuration fees and data traffic fees.- instance
Class string The type of the migration or synchronization instance.
- The specifications of the migration instance: xxlarge, xlarge, large, medium, small.
- The types of synchronization instances: large, medium, small, micro.
- NOTE: For performance descriptions of different specifications, see Data Migration Link Specifications and Data Synchronization Link Specifications.
- job
Id string The ID of the task obtained by calling the ConfigureDtsJob operation (DtsJobId).> After you pass in this parameter, you do not need to pass the source_region, destination_region, type, source_endpoint_engine_name, or destination_endpoint_engine_name parameters. Even if the input is passed in, the configuration in job_id shall prevail.
- payment
Type string The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- period string
The billing method of the subscription instance. Value:
Year
,Month
. NOTE: This parameter is valid and must be passed in only whenpayment_type
isSubscription
.- resource
Group stringId Resource Group ID.
- source
Endpoint stringEngine Name Source instance database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- source
Region string The source instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- sync
Architecture string Synchronization topology, value:
- oneway: one-way synchronization, the default value.
- bidirectional: two-way synchronization.
- synchronization
Direction string The synchronization direction. Default value:
Forward
. Valid values:- {[key: string]: any}
The tag value corresponding to the tag key.See the following
Block Tags
.- type string
The instance type. Valid values:
- migration: MIGRATION.
- sync: synchronization.
- subscribe: SUBSCRIBE.
- NOTE: This parameter or job_id must be passed in.
- used
Time number Prepaid instance purchase duration.
- When period is Month, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- When Period is Year, the values are 1, 2, 3, and 5.
- NOTE:
- This parameter is valid and must be passed in only when payment_type is
Subscription
. - The billing method of the subscription instance. You can set the parameter
period
.
- auto_
pay bool Whether to automatically renew the fee when it expires. Valid values:
- false: No, the default value.
- true: Yes.
- auto_
start bool Whether to start the task automatically after the purchase is completed. Value:
- false: No, the default value.
- true: Yes.
- compute_
unit int Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. NOTE: Enter this parameter and enable ETL to clean and convert data.
- database_
count int The number of private custom RDS instances in the PolarDB-X. The default value is 1. NOTE: This parameter is required only when source_endpoint_engine_name is DRDS.
- destination_
endpoint_ strengine_ name The target database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute project.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- destination_
region str The target instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- du int
Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: 1 ~ 100. NOTE: The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
- fee_
type str Subscription billing type, Valid values:
ONLY_CONFIGURATION_FEE
: charges only configuration fees;CONFIGURATION_FEE_AND_DATA_FEE
: charges configuration fees and data traffic fees.- instance_
class str The type of the migration or synchronization instance.
- The specifications of the migration instance: xxlarge, xlarge, large, medium, small.
- The types of synchronization instances: large, medium, small, micro.
- NOTE: For performance descriptions of different specifications, see Data Migration Link Specifications and Data Synchronization Link Specifications.
- job_
id str The ID of the task obtained by calling the ConfigureDtsJob operation (DtsJobId).> After you pass in this parameter, you do not need to pass the source_region, destination_region, type, source_endpoint_engine_name, or destination_endpoint_engine_name parameters. Even if the input is passed in, the configuration in job_id shall prevail.
- payment_
type str The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- period str
The billing method of the subscription instance. Value:
Year
,Month
. NOTE: This parameter is valid and must be passed in only whenpayment_type
isSubscription
.- resource_
group_ strid Resource Group ID.
- source_
endpoint_ strengine_ name Source instance database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- source_
region str The source instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- sync_
architecture str Synchronization topology, value:
- oneway: one-way synchronization, the default value.
- bidirectional: two-way synchronization.
- synchronization_
direction str The synchronization direction. Default value:
Forward
. Valid values:- Mapping[str, Any]
The tag value corresponding to the tag key.See the following
Block Tags
.- type str
The instance type. Valid values:
- migration: MIGRATION.
- sync: synchronization.
- subscribe: SUBSCRIBE.
- NOTE: This parameter or job_id must be passed in.
- used_
time int Prepaid instance purchase duration.
- When period is Month, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- When Period is Year, the values are 1, 2, 3, and 5.
- NOTE:
- This parameter is valid and must be passed in only when payment_type is
Subscription
. - The billing method of the subscription instance. You can set the parameter
period
.
- auto
Pay Boolean Whether to automatically renew the fee when it expires. Valid values:
- false: No, the default value.
- true: Yes.
- auto
Start Boolean Whether to start the task automatically after the purchase is completed. Value:
- false: No, the default value.
- true: Yes.
- compute
Unit Number Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. NOTE: Enter this parameter and enable ETL to clean and convert data.
- database
Count Number The number of private custom RDS instances in the PolarDB-X. The default value is 1. NOTE: This parameter is required only when source_endpoint_engine_name is DRDS.
- destination
Endpoint StringEngine Name The target database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute project.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- destination
Region String The target instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- du Number
Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: 1 ~ 100. NOTE: The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
- fee
Type String Subscription billing type, Valid values:
ONLY_CONFIGURATION_FEE
: charges only configuration fees;CONFIGURATION_FEE_AND_DATA_FEE
: charges configuration fees and data traffic fees.- instance
Class String The type of the migration or synchronization instance.
- The specifications of the migration instance: xxlarge, xlarge, large, medium, small.
- The types of synchronization instances: large, medium, small, micro.
- NOTE: For performance descriptions of different specifications, see Data Migration Link Specifications and Data Synchronization Link Specifications.
- job
Id String The ID of the task obtained by calling the ConfigureDtsJob operation (DtsJobId).> After you pass in this parameter, you do not need to pass the source_region, destination_region, type, source_endpoint_engine_name, or destination_endpoint_engine_name parameters. Even if the input is passed in, the configuration in job_id shall prevail.
- payment
Type String The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- period String
The billing method of the subscription instance. Value:
Year
,Month
. NOTE: This parameter is valid and must be passed in only whenpayment_type
isSubscription
.- resource
Group StringId Resource Group ID.
- source
Endpoint StringEngine Name Source instance database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- source
Region String The source instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- sync
Architecture String Synchronization topology, value:
- oneway: one-way synchronization, the default value.
- bidirectional: two-way synchronization.
- synchronization
Direction String The synchronization direction. Default value:
Forward
. Valid values:- Map<Any>
The tag value corresponding to the tag key.See the following
Block Tags
.- type String
The instance type. Valid values:
- migration: MIGRATION.
- sync: synchronization.
- subscribe: SUBSCRIBE.
- NOTE: This parameter or job_id must be passed in.
- used
Time Number Prepaid instance purchase duration.
- When period is Month, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- When Period is Year, the values are 1, 2, 3, and 5.
- NOTE:
- This parameter is valid and must be passed in only when payment_type is
Subscription
. - The billing method of the subscription instance. You can set the parameter
period
.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- Create
Time string Instance creation time
- Dts
Instance stringId The ID of the subscription instance.
- Id string
The provider-assigned unique ID for this managed resource.
- Instance
Name string The name of Dts instance.
- Status string
Instance status.
- Create
Time string Instance creation time
- Dts
Instance stringId The ID of the subscription instance.
- Id string
The provider-assigned unique ID for this managed resource.
- Instance
Name string The name of Dts instance.
- Status string
Instance status.
- create
Time String Instance creation time
- dts
Instance StringId The ID of the subscription instance.
- id String
The provider-assigned unique ID for this managed resource.
- instance
Name String The name of Dts instance.
- status String
Instance status.
- create
Time string Instance creation time
- dts
Instance stringId The ID of the subscription instance.
- id string
The provider-assigned unique ID for this managed resource.
- instance
Name string The name of Dts instance.
- status string
Instance status.
- create_
time str Instance creation time
- dts_
instance_ strid The ID of the subscription instance.
- id str
The provider-assigned unique ID for this managed resource.
- instance_
name str The name of Dts instance.
- status str
Instance status.
- create
Time String Instance creation time
- dts
Instance StringId The ID of the subscription instance.
- id String
The provider-assigned unique ID for this managed resource.
- instance
Name String The name of Dts instance.
- status String
Instance status.
Look up Existing Instance Resource
Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_pay: Optional[bool] = None,
auto_start: Optional[bool] = None,
compute_unit: Optional[int] = None,
create_time: Optional[str] = None,
database_count: Optional[int] = None,
destination_endpoint_engine_name: Optional[str] = None,
destination_region: Optional[str] = None,
dts_instance_id: Optional[str] = None,
du: Optional[int] = None,
fee_type: Optional[str] = None,
instance_class: Optional[str] = None,
instance_name: Optional[str] = None,
job_id: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[str] = None,
resource_group_id: Optional[str] = None,
source_endpoint_engine_name: Optional[str] = None,
source_region: Optional[str] = None,
status: Optional[str] = None,
sync_architecture: Optional[str] = None,
synchronization_direction: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
type: Optional[str] = None,
used_time: Optional[int] = None) -> Instance
func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
public static Instance get(String name, Output<String> id, InstanceState 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.
- Auto
Pay bool Whether to automatically renew the fee when it expires. Valid values:
- false: No, the default value.
- true: Yes.
- Auto
Start bool Whether to start the task automatically after the purchase is completed. Value:
- false: No, the default value.
- true: Yes.
- Compute
Unit int Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. NOTE: Enter this parameter and enable ETL to clean and convert data.
- Create
Time string Instance creation time
- Database
Count int The number of private custom RDS instances in the PolarDB-X. The default value is 1. NOTE: This parameter is required only when source_endpoint_engine_name is DRDS.
- Destination
Endpoint stringEngine Name The target database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute project.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- Destination
Region string The target instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- Dts
Instance stringId The ID of the subscription instance.
- Du int
Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: 1 ~ 100. NOTE: The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
- Fee
Type string Subscription billing type, Valid values:
ONLY_CONFIGURATION_FEE
: charges only configuration fees;CONFIGURATION_FEE_AND_DATA_FEE
: charges configuration fees and data traffic fees.- Instance
Class string The type of the migration or synchronization instance.
- The specifications of the migration instance: xxlarge, xlarge, large, medium, small.
- The types of synchronization instances: large, medium, small, micro.
- NOTE: For performance descriptions of different specifications, see Data Migration Link Specifications and Data Synchronization Link Specifications.
- Instance
Name string The name of Dts instance.
- Job
Id string The ID of the task obtained by calling the ConfigureDtsJob operation (DtsJobId).> After you pass in this parameter, you do not need to pass the source_region, destination_region, type, source_endpoint_engine_name, or destination_endpoint_engine_name parameters. Even if the input is passed in, the configuration in job_id shall prevail.
- Payment
Type string The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- Period string
The billing method of the subscription instance. Value:
Year
,Month
. NOTE: This parameter is valid and must be passed in only whenpayment_type
isSubscription
.- Resource
Group stringId Resource Group ID.
- Source
Endpoint stringEngine Name Source instance database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- Source
Region string The source instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- Status string
Instance status.
- Sync
Architecture string Synchronization topology, value:
- oneway: one-way synchronization, the default value.
- bidirectional: two-way synchronization.
- Synchronization
Direction string The synchronization direction. Default value:
Forward
. Valid values:- Dictionary<string, object>
The tag value corresponding to the tag key.See the following
Block Tags
.- Type string
The instance type. Valid values:
- migration: MIGRATION.
- sync: synchronization.
- subscribe: SUBSCRIBE.
- NOTE: This parameter or job_id must be passed in.
- Used
Time int Prepaid instance purchase duration.
- When period is Month, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- When Period is Year, the values are 1, 2, 3, and 5.
- NOTE:
- This parameter is valid and must be passed in only when payment_type is
Subscription
. - The billing method of the subscription instance. You can set the parameter
period
.
- Auto
Pay bool Whether to automatically renew the fee when it expires. Valid values:
- false: No, the default value.
- true: Yes.
- Auto
Start bool Whether to start the task automatically after the purchase is completed. Value:
- false: No, the default value.
- true: Yes.
- Compute
Unit int Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. NOTE: Enter this parameter and enable ETL to clean and convert data.
- Create
Time string Instance creation time
- Database
Count int The number of private custom RDS instances in the PolarDB-X. The default value is 1. NOTE: This parameter is required only when source_endpoint_engine_name is DRDS.
- Destination
Endpoint stringEngine Name The target database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute project.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- Destination
Region string The target instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- Dts
Instance stringId The ID of the subscription instance.
- Du int
Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: 1 ~ 100. NOTE: The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
- Fee
Type string Subscription billing type, Valid values:
ONLY_CONFIGURATION_FEE
: charges only configuration fees;CONFIGURATION_FEE_AND_DATA_FEE
: charges configuration fees and data traffic fees.- Instance
Class string The type of the migration or synchronization instance.
- The specifications of the migration instance: xxlarge, xlarge, large, medium, small.
- The types of synchronization instances: large, medium, small, micro.
- NOTE: For performance descriptions of different specifications, see Data Migration Link Specifications and Data Synchronization Link Specifications.
- Instance
Name string The name of Dts instance.
- Job
Id string The ID of the task obtained by calling the ConfigureDtsJob operation (DtsJobId).> After you pass in this parameter, you do not need to pass the source_region, destination_region, type, source_endpoint_engine_name, or destination_endpoint_engine_name parameters. Even if the input is passed in, the configuration in job_id shall prevail.
- Payment
Type string The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- Period string
The billing method of the subscription instance. Value:
Year
,Month
. NOTE: This parameter is valid and must be passed in only whenpayment_type
isSubscription
.- Resource
Group stringId Resource Group ID.
- Source
Endpoint stringEngine Name Source instance database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- Source
Region string The source instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- Status string
Instance status.
- Sync
Architecture string Synchronization topology, value:
- oneway: one-way synchronization, the default value.
- bidirectional: two-way synchronization.
- Synchronization
Direction string The synchronization direction. Default value:
Forward
. Valid values:- map[string]interface{}
The tag value corresponding to the tag key.See the following
Block Tags
.- Type string
The instance type. Valid values:
- migration: MIGRATION.
- sync: synchronization.
- subscribe: SUBSCRIBE.
- NOTE: This parameter or job_id must be passed in.
- Used
Time int Prepaid instance purchase duration.
- When period is Month, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- When Period is Year, the values are 1, 2, 3, and 5.
- NOTE:
- This parameter is valid and must be passed in only when payment_type is
Subscription
. - The billing method of the subscription instance. You can set the parameter
period
.
- auto
Pay Boolean Whether to automatically renew the fee when it expires. Valid values:
- false: No, the default value.
- true: Yes.
- auto
Start Boolean Whether to start the task automatically after the purchase is completed. Value:
- false: No, the default value.
- true: Yes.
- compute
Unit Integer Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. NOTE: Enter this parameter and enable ETL to clean and convert data.
- create
Time String Instance creation time
- database
Count Integer The number of private custom RDS instances in the PolarDB-X. The default value is 1. NOTE: This parameter is required only when source_endpoint_engine_name is DRDS.
- destination
Endpoint StringEngine Name The target database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute project.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- destination
Region String The target instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- dts
Instance StringId The ID of the subscription instance.
- du Integer
Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: 1 ~ 100. NOTE: The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
- fee
Type String Subscription billing type, Valid values:
ONLY_CONFIGURATION_FEE
: charges only configuration fees;CONFIGURATION_FEE_AND_DATA_FEE
: charges configuration fees and data traffic fees.- instance
Class String The type of the migration or synchronization instance.
- The specifications of the migration instance: xxlarge, xlarge, large, medium, small.
- The types of synchronization instances: large, medium, small, micro.
- NOTE: For performance descriptions of different specifications, see Data Migration Link Specifications and Data Synchronization Link Specifications.
- instance
Name String The name of Dts instance.
- job
Id String The ID of the task obtained by calling the ConfigureDtsJob operation (DtsJobId).> After you pass in this parameter, you do not need to pass the source_region, destination_region, type, source_endpoint_engine_name, or destination_endpoint_engine_name parameters. Even if the input is passed in, the configuration in job_id shall prevail.
- payment
Type String The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- period String
The billing method of the subscription instance. Value:
Year
,Month
. NOTE: This parameter is valid and must be passed in only whenpayment_type
isSubscription
.- resource
Group StringId Resource Group ID.
- source
Endpoint StringEngine Name Source instance database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- source
Region String The source instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- status String
Instance status.
- sync
Architecture String Synchronization topology, value:
- oneway: one-way synchronization, the default value.
- bidirectional: two-way synchronization.
- synchronization
Direction String The synchronization direction. Default value:
Forward
. Valid values:- Map<String,Object>
The tag value corresponding to the tag key.See the following
Block Tags
.- type String
The instance type. Valid values:
- migration: MIGRATION.
- sync: synchronization.
- subscribe: SUBSCRIBE.
- NOTE: This parameter or job_id must be passed in.
- used
Time Integer Prepaid instance purchase duration.
- When period is Month, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- When Period is Year, the values are 1, 2, 3, and 5.
- NOTE:
- This parameter is valid and must be passed in only when payment_type is
Subscription
. - The billing method of the subscription instance. You can set the parameter
period
.
- auto
Pay boolean Whether to automatically renew the fee when it expires. Valid values:
- false: No, the default value.
- true: Yes.
- auto
Start boolean Whether to start the task automatically after the purchase is completed. Value:
- false: No, the default value.
- true: Yes.
- compute
Unit number Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. NOTE: Enter this parameter and enable ETL to clean and convert data.
- create
Time string Instance creation time
- database
Count number The number of private custom RDS instances in the PolarDB-X. The default value is 1. NOTE: This parameter is required only when source_endpoint_engine_name is DRDS.
- destination
Endpoint stringEngine Name The target database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute project.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- destination
Region string The target instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- dts
Instance stringId The ID of the subscription instance.
- du number
Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: 1 ~ 100. NOTE: The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
- fee
Type string Subscription billing type, Valid values:
ONLY_CONFIGURATION_FEE
: charges only configuration fees;CONFIGURATION_FEE_AND_DATA_FEE
: charges configuration fees and data traffic fees.- instance
Class string The type of the migration or synchronization instance.
- The specifications of the migration instance: xxlarge, xlarge, large, medium, small.
- The types of synchronization instances: large, medium, small, micro.
- NOTE: For performance descriptions of different specifications, see Data Migration Link Specifications and Data Synchronization Link Specifications.
- instance
Name string The name of Dts instance.
- job
Id string The ID of the task obtained by calling the ConfigureDtsJob operation (DtsJobId).> After you pass in this parameter, you do not need to pass the source_region, destination_region, type, source_endpoint_engine_name, or destination_endpoint_engine_name parameters. Even if the input is passed in, the configuration in job_id shall prevail.
- payment
Type string The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- period string
The billing method of the subscription instance. Value:
Year
,Month
. NOTE: This parameter is valid and must be passed in only whenpayment_type
isSubscription
.- resource
Group stringId Resource Group ID.
- source
Endpoint stringEngine Name Source instance database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- source
Region string The source instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- status string
Instance status.
- sync
Architecture string Synchronization topology, value:
- oneway: one-way synchronization, the default value.
- bidirectional: two-way synchronization.
- synchronization
Direction string The synchronization direction. Default value:
Forward
. Valid values:- {[key: string]: any}
The tag value corresponding to the tag key.See the following
Block Tags
.- type string
The instance type. Valid values:
- migration: MIGRATION.
- sync: synchronization.
- subscribe: SUBSCRIBE.
- NOTE: This parameter or job_id must be passed in.
- used
Time number Prepaid instance purchase duration.
- When period is Month, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- When Period is Year, the values are 1, 2, 3, and 5.
- NOTE:
- This parameter is valid and must be passed in only when payment_type is
Subscription
. - The billing method of the subscription instance. You can set the parameter
period
.
- auto_
pay bool Whether to automatically renew the fee when it expires. Valid values:
- false: No, the default value.
- true: Yes.
- auto_
start bool Whether to start the task automatically after the purchase is completed. Value:
- false: No, the default value.
- true: Yes.
- compute_
unit int Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. NOTE: Enter this parameter and enable ETL to clean and convert data.
- create_
time str Instance creation time
- database_
count int The number of private custom RDS instances in the PolarDB-X. The default value is 1. NOTE: This parameter is required only when source_endpoint_engine_name is DRDS.
- destination_
endpoint_ strengine_ name The target database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute project.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- destination_
region str The target instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- dts_
instance_ strid The ID of the subscription instance.
- du int
Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: 1 ~ 100. NOTE: The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
- fee_
type str Subscription billing type, Valid values:
ONLY_CONFIGURATION_FEE
: charges only configuration fees;CONFIGURATION_FEE_AND_DATA_FEE
: charges configuration fees and data traffic fees.- instance_
class str The type of the migration or synchronization instance.
- The specifications of the migration instance: xxlarge, xlarge, large, medium, small.
- The types of synchronization instances: large, medium, small, micro.
- NOTE: For performance descriptions of different specifications, see Data Migration Link Specifications and Data Synchronization Link Specifications.
- instance_
name str The name of Dts instance.
- job_
id str The ID of the task obtained by calling the ConfigureDtsJob operation (DtsJobId).> After you pass in this parameter, you do not need to pass the source_region, destination_region, type, source_endpoint_engine_name, or destination_endpoint_engine_name parameters. Even if the input is passed in, the configuration in job_id shall prevail.
- payment_
type str The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- period str
The billing method of the subscription instance. Value:
Year
,Month
. NOTE: This parameter is valid and must be passed in only whenpayment_type
isSubscription
.- resource_
group_ strid Resource Group ID.
- source_
endpoint_ strengine_ name Source instance database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- source_
region str The source instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- status str
Instance status.
- sync_
architecture str Synchronization topology, value:
- oneway: one-way synchronization, the default value.
- bidirectional: two-way synchronization.
- synchronization_
direction str The synchronization direction. Default value:
Forward
. Valid values:- Mapping[str, Any]
The tag value corresponding to the tag key.See the following
Block Tags
.- type str
The instance type. Valid values:
- migration: MIGRATION.
- sync: synchronization.
- subscribe: SUBSCRIBE.
- NOTE: This parameter or job_id must be passed in.
- used_
time int Prepaid instance purchase duration.
- When period is Month, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- When Period is Year, the values are 1, 2, 3, and 5.
- NOTE:
- This parameter is valid and must be passed in only when payment_type is
Subscription
. - The billing method of the subscription instance. You can set the parameter
period
.
- auto
Pay Boolean Whether to automatically renew the fee when it expires. Valid values:
- false: No, the default value.
- true: Yes.
- auto
Start Boolean Whether to start the task automatically after the purchase is completed. Value:
- false: No, the default value.
- true: Yes.
- compute
Unit Number Specifications of ETL. The unit is compute unit (CU),1CU = 1vCPU +4GB of memory. The value range is an integer greater than or equal to 2. NOTE: Enter this parameter and enable ETL to clean and convert data.
- create
Time String Instance creation time
- database
Count Number The number of private custom RDS instances in the PolarDB-X. The default value is 1. NOTE: This parameter is required only when source_endpoint_engine_name is DRDS.
- destination
Endpoint StringEngine Name The target database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute project.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- destination
Region String The target instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- dts
Instance StringId The ID of the subscription instance.
- du Number
Assign a specified number of DU resources to DTS tasks in the DTS exclusive cluster. Valid values: 1 ~ 100. NOTE: The value of this parameter must be within the range of the number of DUs available for the DTS dedicated cluster.
- fee
Type String Subscription billing type, Valid values:
ONLY_CONFIGURATION_FEE
: charges only configuration fees;CONFIGURATION_FEE_AND_DATA_FEE
: charges configuration fees and data traffic fees.- instance
Class String The type of the migration or synchronization instance.
- The specifications of the migration instance: xxlarge, xlarge, large, medium, small.
- The types of synchronization instances: large, medium, small, micro.
- NOTE: For performance descriptions of different specifications, see Data Migration Link Specifications and Data Synchronization Link Specifications.
- instance
Name String The name of Dts instance.
- job
Id String The ID of the task obtained by calling the ConfigureDtsJob operation (DtsJobId).> After you pass in this parameter, you do not need to pass the source_region, destination_region, type, source_endpoint_engine_name, or destination_endpoint_engine_name parameters. Even if the input is passed in, the configuration in job_id shall prevail.
- payment
Type String The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- period String
The billing method of the subscription instance. Value:
Year
,Month
. NOTE: This parameter is valid and must be passed in only whenpayment_type
isSubscription
.- resource
Group StringId Resource Group ID.
- source
Endpoint StringEngine Name Source instance database engine type.
- MySQL:MySQL databases (including RDS MySQL and self-built MySQL).
- PolarDB:PolarDB MySQL.
- polardb_o:PolarDB O engine.
- polardb_pg:PolarDB PostgreSQL.
- Redis:Redis databases (including apsaradb for Redis and user-created Redis).
- DRDS: cloud-native distributed database PolarDB-X 1.0 and 2.0.
- PostgreSQL: User-created PostgreSQL.
- ODPS:MaxCompute.
- oracle: self-built Oracle.
- mongodb:MongoDB databases (including apsaradb for MongoDB and user-created MongoDB).
- tidb:TiDB database.
- ADS: Cloud native data warehouse AnalyticDB MySQL 2.0.
- ADB30: Cloud native data warehouse AnalyticDB MySQL 3.0.
- Greenplum: Cloud native data warehouse AnalyticDB PostgreSQL.
- MSSQL:SQL Server databases (including RDS SQL Server and self-built SQL Server).
- kafka:Kafka databases (including Kafka and self-built Kafka).
- DataHub: DataHub, an Alibaba cloud streaming data service.
- clickhouse: ClickHouse.
- DB2: self-built DB2 LUW.
- as400:AS/400.
- Tablestore: Tablestore.
- NOTE:
- The default value is MySQL.
- For more information about the supported source and destination databases, see Database, Synchronization Initialization Type, and Synchronization Topology and Supported Database and Migration Type.
- This parameter or job_id must be passed in.
- source
Region String The source instance region. For more information, see List of supported regions. NOTE: This parameter or job_id must be passed in.
- status String
Instance status.
- sync
Architecture String Synchronization topology, value:
- oneway: one-way synchronization, the default value.
- bidirectional: two-way synchronization.
- synchronization
Direction String The synchronization direction. Default value:
Forward
. Valid values:- Map<Any>
The tag value corresponding to the tag key.See the following
Block Tags
.- type String
The instance type. Valid values:
- migration: MIGRATION.
- sync: synchronization.
- subscribe: SUBSCRIBE.
- NOTE: This parameter or job_id must be passed in.
- used
Time Number Prepaid instance purchase duration.
- When period is Month, the values are: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
- When Period is Year, the values are 1, 2, 3, and 5.
- NOTE:
- This parameter is valid and must be passed in only when payment_type is
Subscription
. - The billing method of the subscription instance. You can set the parameter
period
.
Import
Dts Instance can be imported using the id, e.g.
$ pulumi import alicloud:dts/instance:Instance example <id>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.