全部产品
云市场

数据传输服务DTS预付费

更新时间:2019-08-27 10:35:22

说明:提供的样例供参考,请参照DescribePricingModule接口返回数据拼装询价和新购请求。

预付费Subscription

接口参数和取值范围

名称 说明 取值范围
Action GetSubscriptionPrice
ProductCode dts
SubscriptionType Subscription
OrderType NewOrder(新购),Renewal(续费),Upgrade(升级)
Region 请参见region信息
ModuleList.1.ModuleCode 功能 DTSFunction
ModuleList.1.Config 功能取值 data_synchronous-数据同步;data_subscribe-数据订阅
ModuleList.2.ModuleCode 源实例 SourceInstance
ModuleList.2.Config 源实例取值 MySQL-MySQL;DRDS-DRDS;redis-Redis
ModuleList.3.ModuleCode 源实例区域 SourceRegion
ModuleList.3.Config 源实例区域取值 请参见DescribePricingModule接口返回的SourceRegion信息
ModuleList.4.ModuleCode 目标实例 TargetInstance
ModuleList.4.Config 目标实例取值 MySQL- MySQL; DRDS- DRDS;
MaxCompute- MaxCompute;DataHub- DataHub;
AnalyticDB-分析型数据库AnalyticDB;
elk- Elasticsearch;redis- Redis
ModuleList.5.ModuleCode 目标实例区域 TargetRegion
ModuleList.5.Config 目标实例地域取值 请参见DescribePricingModule接口返回的TargetRegion信息
ModuleList.6.ModuleCode 同步拓扑 SyncArchitecture
ModuleList.6.Config 同步拓扑取值 oneway-单向同步;bidirectional-双向同步
ModuleList.7.ModuleCode 网络类型 NetworkType
ModuleList.7.Config 网络类型取值 intranet- 专线;internet-互联网
ModuleList.8.ModuleCode 同步链路规格 InstanceClass
ModuleList.8.Config 同步链路规格取值 small- small; micro- micro; medium- medium; large- large
ModuleList.9.ModuleCode RDS数量 RDSCount
ModuleList.9.Config RDS数量取值 1~999,step:1,default:1
ModuleList.10.ModuleCode 订阅实例类型 Subscription_Datasource
ModuleList.10.Config 订阅实例类型取值 RDS-RDS MySQL;DRDS-DRDS;Oracle-Oracle
ServicePeriodQuantity 订购时长 月:1~9;年:1~3
ServicePeriodUnit 订购时长单位 Month,Year
Quantity 购买数量 1:整数

接口参数和取值样例

数据同步:

  1. https://business.aliyuncs.com/?Action=GetSubscriptionPrice
  2. &ModuleList.1.Config=DTSFunction:data_synchronous
  3. &ModuleList.1.ModuleCode=DTSFunction
  4. &ModuleList.2.Config=SourceInstance:MySQL
  5. &ModuleList.2.ModuleCode=SourceInstance
  6. &ModuleList.3.Config=TargetInstance:MySQL
  7. &ModuleList.3.ModuleCode=TargetInstance
  8. &ModuleList.4.Config=TargetRegion:cn-hangzhou
  9. &ModuleList.4.ModuleCode=TargetRegion
  10. &ModuleList.5.Config=SyncArchitecture:oneway
  11. &ModuleList.5.ModuleCode=SyncArchitecture
  12. &ModuleList.6.Config=NetworkType:intranet
  13. &ModuleList.6.ModuleCode=NetworkType
  14. &ModuleList.7.Config=InstanceClass:small
  15. &ModuleList.7.ModuleCode=InstanceClass
  16. &ModuleList.8.Config=SourceRegion:cn-hangzhou
  17. &ModuleList.8.ModuleCode=SourceRegion
  18. &OrderType=NewOrder
  19. &ProductCode=dts
  20. &Region=cn-hangzhou
  21. &ServicePeriodQuantity=1
  22. &ServicePeriodUnit=Month
  23. &SubscriptionType=Subscription
  24. &公共参数

数据订阅:

  1. https://business.aliyuncs.com/?Action=GetSubscriptionPrice
  2. &ModuleList.1.Config=DTSFunction:data_subscribe
  3. &ModuleList.1.ModuleCode=DTSFunction
  4. &ModuleList.2.Config=Subscription_Datasource:RDS
  5. &ModuleList.2.ModuleCode=Subscription_Datasource
  6. &ModuleList.3.Config=Region:cn-beijing
  7. &ModuleList.3.ModuleCode=Region
  8. &OrderType=NewOrder
  9. &ProductCode=dts
  10. &Quantity=1
  11. &ServicePeriodQuantity=1
  12. &ServicePeriodUnit=Month
  13. &SubscriptionType=Subscription
  14. &公共参数