全部产品
云市场

ElasticSearch预付费

更新时间:2018-12-11 22:17:33

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

预付费Subscription

接口参数和取值范围

名称 说明 取值范围
Action GetSubscriptionPrice
ProductCode elasticsearch
ProductType elasticsearchpre
SubscriptionType Subscription
OrderType NewOrder
Region 请参见region信息
ModuleList.1.ModuleCode 版本 ESVersion
ModuleList.1.Config 版本取值 5.5.3_with_X-Pack,6.3_with_X-Pack
ModuleList.2.ModuleCode 网络类型 NetworkType
ModuleList.2.Config 网络类型取值 VPC
ModuleList.3.ModuleCode 实例规格 NodeSpec
ModuleList.3.Config 实例规格取值 elasticsearch.n4.small:1核2G,elasticsearch.sn1ne.large:2核4G,elasticsearch.sn2ne.large:2核8G,elasticsearch.sn2ne.xlarge:4核16G,elasticsearch.sn2ne.2xlarge:8核32G,elasticsearch.sn2ne.4xlarge:16核64G,elasticsearch.sn1ne.4xlarge:16核32G,elasticsearch.d1.2xlarge:8核32G(SATA:22,000G),elasticsearch.d1.4xlarge:16核64G(SATA:44,000G),elasticsearch.i2g.2xlarge:8核32G(SSD:894G),elasticsearch.i2g.4xlarge:16核64G(SSD:1788G)
ModuleList.4.ModuleCode node数量 NodeAmount
ModuleList.4.Config node数量取值 2~50,step=1,default=3
ModuleList.5.ModuleCode 专有主节点 AdvancedMasterAvailable
ModuleList.5.Config 专有主节点取值 true,false
ModuleList.6.ModuleCode 存储类型 DataDiskType
ModuleList.6.Config 存储类型取值 cloud_ssd,cloud_efficiency
ModuleList.7.ModuleCode 单节点存储空间 Disk
ModuleList.7.Config 单节点存储空间取值 20~5120,step=1,default=20
ServicePeriodQuantity 购买时长 1
ServicePeriodUnit 购买时长单位 Month,Year
Quantity 购买数量 1:整数

*更多参数请参考对应阿里云官网售卖页面

接口参数和取值样例(按使用流量:实例类型 = 私网)

  1. https://business.aliyuncs.com/?Action=GetSubscriptionPrice
  2. &SubscriptionType=Subscription
  3. &OrderType=NewOrder
  4. &ProductCode=elasticsearch
  5. &ProductType=elasticsearchpre
  6. &Region=cn-hangzhou
  7. &ModuleList.1.ModuleCode=ESVersion
  8. &ModuleList.1.Config=ESVersion:5.5.3_with_X-Pack
  9. &ModuleList.2.ModuleCode=NetworkType
  10. &ModuleList.2.Config=NetworkType:VPC
  11. &ModuleList.3.ModuleCode=NodeSpec
  12. &ModuleList.3.Config=NodeSpec:elasticsearch.n4.small
  13. &ModuleList.4.ModuleCode=NodeAmount
  14. &ModuleList.4.Config=NodeAmount:3
  15. &ModuleList.5.ModuleCode=AdvancedMasterAvailable
  16. &ModuleList.5.Config=AdvancedMasterAvailable:true
  17. &ModuleList.6.ModuleCode=DataDiskType
  18. &ModuleList.6.Config=DataDiskType:cloud_ssd
  19. &ModuleList.7.ModuleCode=Disk
  20. &ModuleList.7.Config=Disk:50
  21. &Quantity=1
  22. &ServicePeriodQuantity=1
  23. &ServicePeriodUnit=Month

接口参数和取值样例(按固定带宽:实例类型 = 公网)

  1. "Data": {
  2. "Quantity": 1,
  3. "DiscountPrice": 154,
  4. "ModuleDetails": {
  5. "ModuleDetail": [
  6. {
  7. "ModuleCode": "ESVersion",
  8. "UnitPrice": 0,
  9. "CostAfterDiscount": 0,
  10. "OriginalCost": 0,
  11. "InvoiceDiscount": 0
  12. },
  13. {
  14. "ModuleCode": "NetworkType",
  15. "UnitPrice": 0,
  16. "CostAfterDiscount": 0,
  17. "OriginalCost": 0,
  18. "InvoiceDiscount": 0
  19. },
  20. {
  21. "ModuleCode": "NodeSpec",
  22. "UnitPrice": 0,
  23. "CostAfterDiscount": 0,
  24. "OriginalCost": 104,
  25. "InvoiceDiscount": 104
  26. },
  27. {
  28. "ModuleCode": "NodeAmount",
  29. "UnitPrice": 0,
  30. "CostAfterDiscount": 0,
  31. "OriginalCost": 0,
  32. "InvoiceDiscount": 0
  33. },
  34. {
  35. "ModuleCode": "AdvancedMasterAvailable",
  36. "UnitPrice": 0,
  37. "CostAfterDiscount": 0,
  38. "OriginalCost": 0,
  39. "InvoiceDiscount": 0
  40. },
  41. {
  42. "ModuleCode": "DataDiskType",
  43. "UnitPrice": 0,
  44. "CostAfterDiscount": 0,
  45. "OriginalCost": 0,
  46. "InvoiceDiscount": 0
  47. },
  48. {
  49. "ModuleCode": "Disk",
  50. "UnitPrice": 0,
  51. "CostAfterDiscount": 0,
  52. "OriginalCost": 50,
  53. "InvoiceDiscount": 50
  54. }
  55. ]
  56. },
  57. "PromotionDetails": {
  58. "PromotionDetail": [
  59. {
  60. "PromotionId": 1001199213,
  61. "PromotionName": "内部结算用户0元付"
  62. }
  63. ]
  64. },
  65. "OriginalPrice": 154,
  66. "TradePrice": 0,
  67. "Currency": "CNY"