Alibaba Cloud v3.37.0, May 15 23
Alibaba Cloud v3.37.0, May 15 23
alicloud.dts.SynchronizationInstance
Explore with Pulumi AI
Provides a DTS Synchronization Instance resource.
For information about DTS Synchronization Instance and how to use it, see What is Synchronization Instance.
NOTE: Available in v1.138.0+.
Example Usage
Basic Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = new AliCloud.Dts.SynchronizationInstance("default", new()
{
DestinationEndpointEngineName = "ADB30",
DestinationEndpointRegion = "cn-hangzhou",
InstanceClass = "small",
PaymentType = "PayAsYouGo",
SourceEndpointEngineName = "PolarDB",
SourceEndpointRegion = "cn-hangzhou",
SyncArchitecture = "oneway",
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dts"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dts.NewSynchronizationInstance(ctx, "default", &dts.SynchronizationInstanceArgs{
DestinationEndpointEngineName: pulumi.String("ADB30"),
DestinationEndpointRegion: pulumi.String("cn-hangzhou"),
InstanceClass: pulumi.String("small"),
PaymentType: pulumi.String("PayAsYouGo"),
SourceEndpointEngineName: pulumi.String("PolarDB"),
SourceEndpointRegion: pulumi.String("cn-hangzhou"),
SyncArchitecture: pulumi.String("oneway"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.dts.SynchronizationInstance;
import com.pulumi.alicloud.dts.SynchronizationInstanceArgs;
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) {
var default_ = new SynchronizationInstance("default", SynchronizationInstanceArgs.builder()
.destinationEndpointEngineName("ADB30")
.destinationEndpointRegion("cn-hangzhou")
.instanceClass("small")
.paymentType("PayAsYouGo")
.sourceEndpointEngineName("PolarDB")
.sourceEndpointRegion("cn-hangzhou")
.syncArchitecture("oneway")
.build());
}
}
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.dts.SynchronizationInstance("default",
destination_endpoint_engine_name="ADB30",
destination_endpoint_region="cn-hangzhou",
instance_class="small",
payment_type="PayAsYouGo",
source_endpoint_engine_name="PolarDB",
source_endpoint_region="cn-hangzhou",
sync_architecture="oneway")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = new alicloud.dts.SynchronizationInstance("default", {
destinationEndpointEngineName: "ADB30",
destinationEndpointRegion: "cn-hangzhou",
instanceClass: "small",
paymentType: "PayAsYouGo",
sourceEndpointEngineName: "PolarDB",
sourceEndpointRegion: "cn-hangzhou",
syncArchitecture: "oneway",
});
resources:
default:
type: alicloud:dts:SynchronizationInstance
properties:
destinationEndpointEngineName: ADB30
destinationEndpointRegion: cn-hangzhou
instanceClass: small
paymentType: PayAsYouGo
sourceEndpointEngineName: PolarDB
sourceEndpointRegion: cn-hangzhou
syncArchitecture: oneway
Create SynchronizationInstance Resource
new SynchronizationInstance(name: string, args: SynchronizationInstanceArgs, opts?: CustomResourceOptions);
@overload
def SynchronizationInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
auto_pay: Optional[str] = None,
auto_start: Optional[str] = None,
compute_unit: Optional[int] = None,
database_count: Optional[int] = None,
destination_endpoint_engine_name: Optional[str] = None,
destination_endpoint_region: Optional[str] = None,
instance_class: Optional[str] = None,
payment_duration: Optional[int] = None,
payment_duration_unit: Optional[str] = None,
payment_type: Optional[str] = None,
quantity: Optional[int] = None,
source_endpoint_engine_name: Optional[str] = None,
source_endpoint_region: Optional[str] = None,
sync_architecture: Optional[str] = None)
@overload
def SynchronizationInstance(resource_name: str,
args: SynchronizationInstanceArgs,
opts: Optional[ResourceOptions] = None)
func NewSynchronizationInstance(ctx *Context, name string, args SynchronizationInstanceArgs, opts ...ResourceOption) (*SynchronizationInstance, error)
public SynchronizationInstance(string name, SynchronizationInstanceArgs args, CustomResourceOptions? opts = null)
public SynchronizationInstance(String name, SynchronizationInstanceArgs args)
public SynchronizationInstance(String name, SynchronizationInstanceArgs args, CustomResourceOptions options)
type: alicloud:dts:SynchronizationInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SynchronizationInstanceArgs
- 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 SynchronizationInstanceArgs
- 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 SynchronizationInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SynchronizationInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SynchronizationInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SynchronizationInstance 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 SynchronizationInstance resource accepts the following input properties:
- Destination
Endpoint stringEngine Name The type of destination engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- Destination
Endpoint stringRegion The region of destination instance. List of supported regions.
- Payment
Type string The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- Source
Endpoint stringEngine Name The type of source endpoint engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- Source
Endpoint stringRegion The region of source instance.
- Auto
Pay string Whether to automatically renew when it expires. Valid values:
true
,false
.- Auto
Start string Whether to automatically start the task after the purchase completed. Valid values:
true
,false
.- Compute
Unit int ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
- Database
Count int The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when
source_endpoint_engine_name
equalsdrds
.- Instance
Class string The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.- Payment
Duration int The duration of prepaid instance purchase. this parameter is required When
payment_type
equalsSubscription
.- Payment
Duration stringUnit The payment duration unit. Valid values:
Month
,Year
. Whenpayment_type
isSubscription
, this parameter is valid and must be passed in.- Quantity int
The number of instances purchased.
- Sync
Architecture string The sync architecture. Valid values:
oneway
,bidirectional
.
- Destination
Endpoint stringEngine Name The type of destination engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- Destination
Endpoint stringRegion The region of destination instance. List of supported regions.
- Payment
Type string The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- Source
Endpoint stringEngine Name The type of source endpoint engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- Source
Endpoint stringRegion The region of source instance.
- Auto
Pay string Whether to automatically renew when it expires. Valid values:
true
,false
.- Auto
Start string Whether to automatically start the task after the purchase completed. Valid values:
true
,false
.- Compute
Unit int ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
- Database
Count int The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when
source_endpoint_engine_name
equalsdrds
.- Instance
Class string The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.- Payment
Duration int The duration of prepaid instance purchase. this parameter is required When
payment_type
equalsSubscription
.- Payment
Duration stringUnit The payment duration unit. Valid values:
Month
,Year
. Whenpayment_type
isSubscription
, this parameter is valid and must be passed in.- Quantity int
The number of instances purchased.
- Sync
Architecture string The sync architecture. Valid values:
oneway
,bidirectional
.
- destination
Endpoint StringEngine Name The type of destination engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- destination
Endpoint StringRegion The region of destination instance. List of supported regions.
- payment
Type String The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- source
Endpoint StringEngine Name The type of source endpoint engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- source
Endpoint StringRegion The region of source instance.
- auto
Pay String Whether to automatically renew when it expires. Valid values:
true
,false
.- auto
Start String Whether to automatically start the task after the purchase completed. Valid values:
true
,false
.- compute
Unit Integer ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
- database
Count Integer The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when
source_endpoint_engine_name
equalsdrds
.- instance
Class String The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.- payment
Duration Integer The duration of prepaid instance purchase. this parameter is required When
payment_type
equalsSubscription
.- payment
Duration StringUnit The payment duration unit. Valid values:
Month
,Year
. Whenpayment_type
isSubscription
, this parameter is valid and must be passed in.- quantity Integer
The number of instances purchased.
- sync
Architecture String The sync architecture. Valid values:
oneway
,bidirectional
.
- destination
Endpoint stringEngine Name The type of destination engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- destination
Endpoint stringRegion The region of destination instance. List of supported regions.
- payment
Type string The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- source
Endpoint stringEngine Name The type of source endpoint engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- source
Endpoint stringRegion The region of source instance.
- auto
Pay string Whether to automatically renew when it expires. Valid values:
true
,false
.- auto
Start string Whether to automatically start the task after the purchase completed. Valid values:
true
,false
.- compute
Unit number ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
- database
Count number The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when
source_endpoint_engine_name
equalsdrds
.- instance
Class string The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.- payment
Duration number The duration of prepaid instance purchase. this parameter is required When
payment_type
equalsSubscription
.- payment
Duration stringUnit The payment duration unit. Valid values:
Month
,Year
. Whenpayment_type
isSubscription
, this parameter is valid and must be passed in.- quantity number
The number of instances purchased.
- sync
Architecture string The sync architecture. Valid values:
oneway
,bidirectional
.
- destination_
endpoint_ strengine_ name The type of destination engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- destination_
endpoint_ strregion The region of destination instance. List of supported regions.
- payment_
type str The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- source_
endpoint_ strengine_ name The type of source endpoint engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- source_
endpoint_ strregion The region of source instance.
- auto_
pay str Whether to automatically renew when it expires. Valid values:
true
,false
.- auto_
start str Whether to automatically start the task after the purchase completed. Valid values:
true
,false
.- compute_
unit int ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
- database_
count int The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when
source_endpoint_engine_name
equalsdrds
.- instance_
class str The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.- payment_
duration int The duration of prepaid instance purchase. this parameter is required When
payment_type
equalsSubscription
.- payment_
duration_ strunit The payment duration unit. Valid values:
Month
,Year
. Whenpayment_type
isSubscription
, this parameter is valid and must be passed in.- quantity int
The number of instances purchased.
- sync_
architecture str The sync architecture. Valid values:
oneway
,bidirectional
.
- destination
Endpoint StringEngine Name The type of destination engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- destination
Endpoint StringRegion The region of destination instance. List of supported regions.
- payment
Type String The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- source
Endpoint StringEngine Name The type of source endpoint engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- source
Endpoint StringRegion The region of source instance.
- auto
Pay String Whether to automatically renew when it expires. Valid values:
true
,false
.- auto
Start String Whether to automatically start the task after the purchase completed. Valid values:
true
,false
.- compute
Unit Number ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
- database
Count Number The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when
source_endpoint_engine_name
equalsdrds
.- instance
Class String The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.- payment
Duration Number The duration of prepaid instance purchase. this parameter is required When
payment_type
equalsSubscription
.- payment
Duration StringUnit The payment duration unit. Valid values:
Month
,Year
. Whenpayment_type
isSubscription
, this parameter is valid and must be passed in.- quantity Number
The number of instances purchased.
- sync
Architecture String The sync architecture. Valid values:
oneway
,bidirectional
.
Outputs
All input properties are implicitly available as output properties. Additionally, the SynchronizationInstance resource produces the following output properties:
Look up Existing SynchronizationInstance Resource
Get an existing SynchronizationInstance 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?: SynchronizationInstanceState, opts?: CustomResourceOptions): SynchronizationInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_pay: Optional[str] = None,
auto_start: Optional[str] = None,
compute_unit: Optional[int] = None,
database_count: Optional[int] = None,
destination_endpoint_engine_name: Optional[str] = None,
destination_endpoint_region: Optional[str] = None,
instance_class: Optional[str] = None,
payment_duration: Optional[int] = None,
payment_duration_unit: Optional[str] = None,
payment_type: Optional[str] = None,
quantity: Optional[int] = None,
source_endpoint_engine_name: Optional[str] = None,
source_endpoint_region: Optional[str] = None,
status: Optional[str] = None,
sync_architecture: Optional[str] = None) -> SynchronizationInstance
func GetSynchronizationInstance(ctx *Context, name string, id IDInput, state *SynchronizationInstanceState, opts ...ResourceOption) (*SynchronizationInstance, error)
public static SynchronizationInstance Get(string name, Input<string> id, SynchronizationInstanceState? state, CustomResourceOptions? opts = null)
public static SynchronizationInstance get(String name, Output<String> id, SynchronizationInstanceState 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 string Whether to automatically renew when it expires. Valid values:
true
,false
.- Auto
Start string Whether to automatically start the task after the purchase completed. Valid values:
true
,false
.- Compute
Unit int ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
- Database
Count int The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when
source_endpoint_engine_name
equalsdrds
.- Destination
Endpoint stringEngine Name The type of destination engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- Destination
Endpoint stringRegion The region of destination instance. List of supported regions.
- Instance
Class string The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.- Payment
Duration int The duration of prepaid instance purchase. this parameter is required When
payment_type
equalsSubscription
.- Payment
Duration stringUnit The payment duration unit. Valid values:
Month
,Year
. Whenpayment_type
isSubscription
, this parameter is valid and must be passed in.- Payment
Type string The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- Quantity int
The number of instances purchased.
- Source
Endpoint stringEngine Name The type of source endpoint engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- Source
Endpoint stringRegion The region of source instance.
- Status string
The status.
- Sync
Architecture string The sync architecture. Valid values:
oneway
,bidirectional
.
- Auto
Pay string Whether to automatically renew when it expires. Valid values:
true
,false
.- Auto
Start string Whether to automatically start the task after the purchase completed. Valid values:
true
,false
.- Compute
Unit int ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
- Database
Count int The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when
source_endpoint_engine_name
equalsdrds
.- Destination
Endpoint stringEngine Name The type of destination engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- Destination
Endpoint stringRegion The region of destination instance. List of supported regions.
- Instance
Class string The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.- Payment
Duration int The duration of prepaid instance purchase. this parameter is required When
payment_type
equalsSubscription
.- Payment
Duration stringUnit The payment duration unit. Valid values:
Month
,Year
. Whenpayment_type
isSubscription
, this parameter is valid and must be passed in.- Payment
Type string The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- Quantity int
The number of instances purchased.
- Source
Endpoint stringEngine Name The type of source endpoint engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- Source
Endpoint stringRegion The region of source instance.
- Status string
The status.
- Sync
Architecture string The sync architecture. Valid values:
oneway
,bidirectional
.
- auto
Pay String Whether to automatically renew when it expires. Valid values:
true
,false
.- auto
Start String Whether to automatically start the task after the purchase completed. Valid values:
true
,false
.- compute
Unit Integer ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
- database
Count Integer The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when
source_endpoint_engine_name
equalsdrds
.- destination
Endpoint StringEngine Name The type of destination engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- destination
Endpoint StringRegion The region of destination instance. List of supported regions.
- instance
Class String The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.- payment
Duration Integer The duration of prepaid instance purchase. this parameter is required When
payment_type
equalsSubscription
.- payment
Duration StringUnit The payment duration unit. Valid values:
Month
,Year
. Whenpayment_type
isSubscription
, this parameter is valid and must be passed in.- payment
Type String The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- quantity Integer
The number of instances purchased.
- source
Endpoint StringEngine Name The type of source endpoint engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- source
Endpoint StringRegion The region of source instance.
- status String
The status.
- sync
Architecture String The sync architecture. Valid values:
oneway
,bidirectional
.
- auto
Pay string Whether to automatically renew when it expires. Valid values:
true
,false
.- auto
Start string Whether to automatically start the task after the purchase completed. Valid values:
true
,false
.- compute
Unit number ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
- database
Count number The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when
source_endpoint_engine_name
equalsdrds
.- destination
Endpoint stringEngine Name The type of destination engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- destination
Endpoint stringRegion The region of destination instance. List of supported regions.
- instance
Class string The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.- payment
Duration number The duration of prepaid instance purchase. this parameter is required When
payment_type
equalsSubscription
.- payment
Duration stringUnit The payment duration unit. Valid values:
Month
,Year
. Whenpayment_type
isSubscription
, this parameter is valid and must be passed in.- payment
Type string The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- quantity number
The number of instances purchased.
- source
Endpoint stringEngine Name The type of source endpoint engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- source
Endpoint stringRegion The region of source instance.
- status string
The status.
- sync
Architecture string The sync architecture. Valid values:
oneway
,bidirectional
.
- auto_
pay str Whether to automatically renew when it expires. Valid values:
true
,false
.- auto_
start str Whether to automatically start the task after the purchase completed. Valid values:
true
,false
.- compute_
unit int ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
- database_
count int The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when
source_endpoint_engine_name
equalsdrds
.- destination_
endpoint_ strengine_ name The type of destination engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- destination_
endpoint_ strregion The region of destination instance. List of supported regions.
- instance_
class str The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.- payment_
duration int The duration of prepaid instance purchase. this parameter is required When
payment_type
equalsSubscription
.- payment_
duration_ strunit The payment duration unit. Valid values:
Month
,Year
. Whenpayment_type
isSubscription
, this parameter is valid and must be passed in.- payment_
type str The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- quantity int
The number of instances purchased.
- source_
endpoint_ strengine_ name The type of source endpoint engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- source_
endpoint_ strregion The region of source instance.
- status str
The status.
- sync_
architecture str The sync architecture. Valid values:
oneway
,bidirectional
.
- auto
Pay String Whether to automatically renew when it expires. Valid values:
true
,false
.- auto
Start String Whether to automatically start the task after the purchase completed. Valid values:
true
,false
.- compute
Unit Number ETL specifications. The unit is the computing unit ComputeUnit (CU), 1CU=1vCPU+4 GB memory. The value range is an integer greater than or equal to 2.
- database
Count Number The number of private customized RDS instances under PolarDB-X. The default value is 1. This parameter needs to be passed only when
source_endpoint_engine_name
equalsdrds
.- destination
Endpoint StringEngine Name The type of destination engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- destination
Endpoint StringRegion The region of destination instance. List of supported regions.
- instance
Class String The instance class. Valid values:
large
,medium
,micro
,small
,xlarge
,xxlarge
. You can only upgrade the configuration, not downgrade the configuration. If you downgrade the instance, you need to submit a ticket.- payment
Duration Number The duration of prepaid instance purchase. this parameter is required When
payment_type
equalsSubscription
.- payment
Duration StringUnit The payment duration unit. Valid values:
Month
,Year
. Whenpayment_type
isSubscription
, this parameter is valid and must be passed in.- payment
Type String The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
.- quantity Number
The number of instances purchased.
- source
Endpoint StringEngine Name The type of source endpoint engine. Valid values:
ADS
,DB2
,DRDS
,DataHub
,Greenplum
,MSSQL
,MySQL
,PolarDB
,PostgreSQL
,Redis
,Tablestore
,as400
,clickhouse
,kafka
,mongodb
,odps
,oracle
,polardb_o
,polardb_pg
,tidb
. For the correspondence between the supported source and target libraries, see Supported Databases, Synchronization Initialization Types and Synchronization Topologies, Supported Databases and Migration Types.- source
Endpoint StringRegion The region of source instance.
- status String
The status.
- sync
Architecture String The sync architecture. Valid values:
oneway
,bidirectional
.
Import
DTS Synchronization Instance can be imported using the id, e.g.
$ pulumi import alicloud:dts/synchronizationInstance:SynchronizationInstance 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.