All Products
Search
Document Center

ECS Subscription

Last Updated: Aug 19, 2019

Request Parameters

Name Description Values
Action GetSubscriptionPrice
ProductCode ecs
SubscriptionType Subscription
OrderType NewOrder, Renewal, Upgrade
Region See region information
ModuleList.1.ModuleCode InstanceType
ModuleList.1.Config InstanceType:ecs.g5.xlarge,IoOptimized:IoOptimized,ImageOs:linux,InstanceTypeFamily:ecs.g5
ModuleList.2.ModuleCode SystemDisk
ModuleList.2.Config SystemDisk.Category:cloud_efficiency,SystemDisk.Size:55
ModuleList.3.ModuleCode DataDisk
ModuleList.3.Config DataDisk.Category:cloud_ssd,DataDisk.Size:130
ModuleList.4.ModuleCode InternetMaxBandwidthOut
ModuleList.4.Config InternetMaxBandwidthOut:1024,InternetMaxBandwidthOut.IsFlowType:1,NetworkType:1
ServicePeriodQuantity Service Time 1
ServicePeriodUnit Serevice Time Unit Week,Month,Year
Quantity Service Quality Integer, for example:1

Sample requests

ECS NewOrder:

  1. https://business.ap-southeast-1.aliyuncs.com/?Action=GetSubscriptionPrice
  2. &ProductCode=ecs
  3. &SubscriptionType=Subscription
  4. &OrderType=NewOrder
  5. &Region=cn-qingdao
  6. &ModuleList.1.ModuleCode=InstanceType
  7. &ModuleList.1.Config=InstanceType:ecs.g5.xlarge,IoOptimized:IoOptimized,ImageOs:linux,InstanceTypeFamily:ecs.g5
  8. &ModuleList.2.ModuleCode=SystemDisk
  9. &ModuleList.2.Config=SystemDisk.Category:cloud_efficiency,SystemDisk.Size:55
  10. &ModuleList.3.ModuleCode=DataDisk
  11. &ModuleList.3.Config=DataDisk.Category:cloud_ssd,DataDisk.Size:130
  12. &ModuleList.4.ModuleCode=InternetMaxBandwidthOut
  13. &ModuleList.4.Config=InternetMaxBandwidthOut:1024,InternetMaxBandwidthOut.IsFlowType:1,NetworkType:1
  14. &Quantity=1
  15. &ServicePeriodQuantity=1
  16. &ServicePeriodUnit=Month
  17. &[other public parameters]

ECS Renewal:

  1. https://business.ap-southeast-1.aliyuncs.com/?Action=GetSubscriptionPrice
  2. &ProductCode=ecs
  3. &SubscriptionType=Subscription
  4. &OrderType=Renewal
  5. &Region=cn-qingdao
  6. &InstanceId=i-m5eiwg1x521mtqfvyqbc
  7. &ModuleList.1.ModuleCode=InstanceType
  8. &ModuleList.1.Config=InstanceType:ecs.g5.xlarge,IoOptimized:IoOptimized,ImageOs:linux
  9. &ModuleList.2.ModuleCode=SystemDisk
  10. &ModuleList.2.Config=SystemDisk.Category:cloud_efficiency,SystemDisk.Size:55
  11. &ModuleList.3.ModuleCode=DataDisk
  12. &ModuleList.3.Config=DataDisk.Category:cloud_ssd,DataDisk.Size:130
  13. &ModuleList.4.ModuleCode=InternetMaxBandwidthOut
  14. &ModuleList.4.Config=InternetMaxBandwidthOut:1024
  15. &Quantity=1
  16. &ServicePeriodQuantity=1
  17. &ServicePeriodUnit=Year
  18. &[other public parameters]

ECS Upgrade:

  1. https://business.ap-southeast-1.aliyuncs.com/?Action=GetSubscriptionPrice
  2. &ProductCode=ecs
  3. &SubscriptionType=Subscription
  4. &OrderType=Renewal
  5. &Region=cn-qingdao
  6. &InstanceId=i-m5eiwg1x521mtqfvyqbc
  7. &ModuleList.1.ModuleCode=InstanceType
  8. &ModuleList.1.Config=InstanceType:ecs.g5.xlarge,IoOptimized:IoOptimized,ImageOs:linux
  9. &ModuleList.1.ModuleStatus=2
  10. &ModuleList.2.ModuleCode=InternetMaxBandwidthOut
  11. &ModuleList.2.Config=InternetMaxBandwidthOut:2048
  12. &ModuleList.2.ModuleStatus=2
  13. &Quantity=1
  14. &ServicePeriodQuantity=1
  15. &ServicePeriodUnit=Year
  16. &[other public parameters]