All Products
Search
Document Center

ECS PayAsYouGo

Last Updated: Nov 26, 2018

Request parameters

Name Description Values
Action GetPayAsYouGoPrice
ProductCode ecs
SubscriptionType PayAsYouGo
Region See region information
ModuleList.1.ModuleCode InstanceType
ModuleList.1.Config InstanceType:ecs.g5.xlarge,IoOptimized:IoOptimized,ImageOs:linux
ModuleList.1.PriceType Hour
ModuleList.2.ModuleCode SystemDisk
ModuleList.2.Config SystemDisk.Category:cloud_efficiency,SystemDisk.Size:55
ModuleList.2.PriceType Hour
ModuleList.3.ModuleCode DataDisk
ModuleList.3.Config DataDisk.Category:cloud_ssd,DataDisk.Size:130
ModuleList.3.PriceType Hour
ModuleList.4.ModuleCode InternetMaxBandwidthOut
ModuleList.4.Config InternetMaxBandwidthOut:1024,InternetMaxBandwidthOut.IsFlowType:0
ModuleList.4.PriceType Hour

Sample requests

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