All Products
Search
Document Center

NASPackage Subscription

Last Updated: Aug 23, 2019

Request Parameters

Name Description Values
Action GetSubscriptionPrice
ProductCode naspackage
SubscriptionType Subscription
OrderType NewOrder
Region See region information
ModuleList.1.ModuleCode ProtocolType
ModuleList.1.Config ProtocolType value nfs:NFS ,smb:SMB ,nasplus:NASPlus
ModuleList.2.ModuleCode StorageType
ModuleList.2.Config StorageType ssd:SSD,hybrid:Capacity
ModuleList.3.ModuleCode VolumeSize Size
ModuleList.3.Config VolumeSize value 5,100,300,1024,2048,3072,5120,10240,15360,20480,30720,51200,102400,204800,307200,512000,1048576:GB
ModuleList.4.ModuleCode FileSystemId
ModuleList.4.Config FileSystemId,example:008b648bcb
ModuleList.5.ModuleCode Zone
ModuleList.5.Config Zone name, example:cn-hangzhou-b
ServicePeriodQuantity 1
ServicePeriodUnit Month,Year
Quantity 1,2…

Sample requests

  1. https://business.ap-southeast-1.aliyuncs.com/?Action=GetSubscriptionPrice
  2. &ProductCode=rds
  3. &SubscriptionType=Subscription
  4. &OrderType=NewOrder
  5. &Region=cn-hangzhou
  6. &ModuleList.1.ModuleCode=DBInstanceStorage
  7. &ModuleList.1.Config=DBInstanceStorage:20,Series:HighAvailability,EngineVersion:5.6
  8. &ModuleList.2.ModuleCode=DBInstanceClass
  9. &ModuleList.2.Config=DBInstanceClass:rds.mysql.s1.small
  10. &Quantity=1
  11. &ServicePeriodQuantity=1
  12. &ServicePeriodUnit=Year
  13. &[other public parameters]

Intl-site sample

  1. &Action=GetSubscriptionPrice
  2. &ProductCode=naspackage
  3. &OrderType=NewOrder
  4. &SubscriptionType=Subscription
  5. &Region=cn-hangzhou
  6. &ModuleList.1.Config=ProtocolType:NFS
  7. &ModuleList.1.ModuleCode=ProtocolType
  8. &ModuleList.2.Config=StorageType:hybrid
  9. &ModuleList.2.ModuleCode=StorageType
  10. &ModuleList.3.Config=Size:500
  11. &ModuleList.3.ModuleCode=Size
  12. &ModuleList.4.Config=FileSystemId:SELECT_TO_CREATE_NEW_VOLUME
  13. &ModuleList.4.ModuleCode=FileSystemId
  14. &Quantity=1
  15. &ServicePeriodQuantity=1
  16. &ServicePeriodUnit=Month
  1. OriginalPrice:23
  2. TradePrice:23
  3. Currency:"USD"
  4. Message:"Successful!"
  5. RequestId:"Fxxxxxx02E1"
  6. Success:true
  7. Code:"Success"