全部产品
云市场

Elasticsearch预付费

更新时间:2019-11-22 10:13:14

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

预付费Subscription

接口参数和取值范围

名称 说明 取值范围
Action GetSubscriptionPrice
ProductCode elasticsearch
ProductType elasticsearchpre
SubscriptionType Subscription
OrderType NewOrder
Region 请参见region信息
ModuleList.1.ModuleCode 可用区 ZoneId
ModuleList.1.Config 取值 参数格式:地域+可用区,比如北京可用区A:cn-beijing-a
ModuleList.2.ModuleCode 实例类型 InstanceType
ModuleList.2.Config 取值 x-pack:商业版;advanced:增强版
ModuleList.3.ModuleCode 网络类型 NetworkType
ModuleList.3.Config 取值 VPC:专有网络
ModuleList.4.ModuleCode 专有网络 VpcId
ModuleList.4.Config 取值 请输入有效vpcid
ModuleList.5.ModuleCode 虚拟交换机 VswitchId
ModuleList.5.Config 取值 虚拟交换机 id
ModuleList.6.ModuleCode 版本 ESVersion
ModuleList.6.Config 版本取值 6.7,6.3,5.5.3(5.5版本)
ModuleList.7.ModuleCode 密码 ESAdminPassword
ModuleList.7.Config 取值 大写、小写、数字、特殊字符占三种,长度为8-30位;特殊字符为!@#$%^&*()_+-=
ModuleList.8.ModuleCode 可用区数量 ZoneCount
ModuleList.8.Config 取值 1:单可用区;2:两个可用区;3:三个可用区
ModuleList.9.ModuleCode CPFS存储空间 CpfsDiskSize (只有增强型实例才能设置)
ModuleList.9.Config 取值 5120:5TB;10240:10TB
ModuleList.10.ModuleCode 数据节点存储类型 DataDiskType
ModuleList.10.Config 取值 cloud_ssd:SSD云盘;cloud_efficiency:高效云盘
增强型实例 只能选SSD
商业版实例都支持
ModuleList.11.ModuleCode 数据节点单个节点存储空间 Disk
ModuleList.11.Config 取值 20~5120,步长:1,默认值:20(高效云盘,超过2048时只步长为512)
20~2048,步长:1,默认值:20(SSD云盘)
ModuleList.12.ModuleCode 数据节点数量 NodeAmount
ModuleList.12.Config 取值 2~50,且必须是可用区的整数倍
ModuleList.13.ModuleCode 数据节点规格族(规格的分类) SpecGroup
ModuleList.13.Config 取值 cloud:云盘型(需要为数据节点配置云盘);
local_ssd:本地SSD盘型(不能单独再购买云盘);
local_efficiency:本地SATA盘型(不能单独再购买云盘)
ModuleList.14.ModuleCode 数据节点规格 NodeSpec
ModuleList.14.Config 取值 cloud云盘型:
elasticsearch.n4.small:1核2G
elasticsearch.ic5.large:2核2G
elasticsearch.sn1ne.large:2核4G
elasticsearch.sn2ne.large:2核8G
elasticsearch.r5.large:2核16G
elasticsearch.ic5.xlarge:4核4G
elasticsearch.sn2ne.xlarge:4核16G
elasticsearch.r5.xlarge:4核32G
elasticsearch.ic5.2xlarge:8核8G
elasticsearch.sn2ne.2xlarge:8核32G
elasticsearch.r5.2xlarge:8核64G
elasticsearch.ic5.3xlarge:12核12G
elasticsearch.ic5.4xlarge:16核16G
elasticsearch.sn1ne.4xlarge:16核32G
elasticsearch.sn2ne.4xlarge:16核64G
elasticsearch.sn1ne.8xlarge:32核64G
local_efficiency本地SATA盘型:
elasticsearch.d1.2xlarge:8核32G(SATA:22,000G)
elasticsearch.d1.4xlarge:16核64G(SATA:44,000G)
本地SSD盘型
elasticsearch.i2g.2xlarge:8核32G(SSD:894G)
elasticsearch.i2g.4xlarge:16核64G(SSD:1788G)
ModuleList.15.ModuleCode 协调节点 ClientNodeAvailable
ModuleList.15.Config 取值 false:否;true:是
ModuleList.16.ModuleCode 协调节点数 ClientNodeAmount
ModuleList.16.Config 取值 2~25,步长:1,默认值:2, 且为可用区的整数倍
ModuleList.17.ModuleCode 协调节点存储空间 ClientDiskSize
ModuleList.17.Config 取值 20:20G
ModuleList.18.ModuleCode 协调节点存储类型 ClientDiskType
ModuleList.18.Config 取值 cloud_efficiency:高效云盘
ModuleList.19.ModuleCode 协调节点规格 ClientNodeSpec
ModuleList.19.Config 取值 elasticsearch.ic5.large:2核2G
elasticsearch.sn2ne.large:2核8G
elasticsearch.r5.large:2核16G
elasticsearch.ic5.xlarge:4核4G
elasticsearch.sn2ne.xlarge:4核16G
elasticsearch.r5.xlarge:4核32G
elasticsearch.ic5.2xlarge:8核8G
elasticsearch.sn2ne.2xlarge:8核32G
elasticsearch.r5.2xlarge:8核64G
elasticsearch.ic5.3xlarge:12核12G
elasticsearch.ic5.4xlarge:16核16G
elasticsearch.sn1ne.4xlarge:16核32G
elasticsearch.sn2ne.4xlarge:16核64G
ModuleList.20.ModuleCode Kibana节点(必须,1c2g 0元赠送) KibanaNodeAvailable
ModuleList.20.Config 取值 true:是
ModuleList.21.ModuleCode Kibana规格 KibanaNodeSpec
ModuleList.21.Config 取值 elasticsearch.n4.small:1核2G(0元赠送)
elasticsearch.sn1ne.large:2核4G
elasticsearch.sn2ne.large:2核8G
elasticsearch.sn2ne.xlarge:4核16G
elasticsearch.sn2ne.2xlarge:8核32G
ModuleList.22.ModuleCode 专有主节点 AdvancedMasterAvailable
ModuleList.22.Config 取值 false:否;
true:是,如果是增强型实例或者多可用区实例,则只能是true,必选专有主节点
ModuleList.23.ModuleCode 专有主节点存储空间 MasterDiskSize
ModuleList.23.Config 取值 20:20G
ModuleList.24.ModuleCode 专有主节点存储类型 MasterDiskType
ModuleList.24.Config 取值 cloud_ssd:SSD云盘
ModuleList.25.ModuleCode 专有主节点规格 MasterNodeSpec
ModuleList.25.Config 取值 elasticsearch.sn2ne.large:2核8G
elasticsearch.r5.large:2核16G
elasticsearch.ic5.xlarge:4核4G
elasticsearch.sn2ne.xlarge:4核16G
elasticsearch.r5.xlarge:4核32G
elasticsearch.ic5.2xlarge:8核8G
elasticsearch.sn2ne.2xlarge:8核32G
elasticsearch.r5.2xlarge:8核64G
elasticsearch.ic5.3xlarge:12核12G
elasticsearch.ic5.4xlarge:16核16G
elasticsearch.sn1ne.4xlarge:16核32G
elasticsearch.sn2ne.4xlarge:16核64G
ModuleList.26.ModuleCode 专有主节点数 MasterNodeAmount
ModuleList.26.Config 取值 3
ModuleList.27.ModuleCode 冷数据节点 WarnNodeAvailable
ModuleList.27.Config 取值 false:否;true:是
ModuleList.28.ModuleCode 冷数据节点数量 WarmNodeAmount
ModuleList.28.Config 取值 2~50,步长:1,默认值:2(单可用区)
4~50,步长:2,默认值:4(两个可用区)
6~50,步长:3,默认值:6(三个可用区)
ModuleList.29.ModuleCode 冷数据节点存储空间 WarmDiskSize
ModuleList.29.Config 取值 500~5120,步长:1,默认值:500
ModuleList.30.ModuleCode 冷节点存储类型 WarmDiskType
ModuleList.30.Config 取值 cloud_efficiency:高效云盘
ModuleList.31.ModuleCode 冷数据节点云盘加密 WarmDiskEncryption
ModuleList.31.Config 取值 false:否;true:是
ModuleList.32.ModuleCode 冷数据节点规格 WarmNodeSpec
ModuleList.32.Config 取值 elasticsearch.ic5.large:2核2G
elasticsearch.sn2ne.large:2核8G
elasticsearch.r5.large:2核16G
elasticsearch.ic5.xlarge:4核4G
elasticsearch.sn2ne.xlarge:4核16G
elasticsearch.r5.xlarge:4核32G
elasticsearch.ic5.2xlarge:8核8G
elasticsearch.sn2ne.2xlarge:8核32G
elasticsearch.r5.2xlarge:8核64G
elasticsearch.ic5.3xlarge:12核12G
elasticsearch.ic5.4xlarge:16核16G
elasticsearch.sn2ne.4xlarge:16核64G
elasticsearch.sn1ne.8xlarge:32核64G
ModuleList.33.ModuleCode 强制更新(升配时参数) Force
ModuleList.33.Config 取值 true 强制重启更新;false 需要检查集群健康状态,不强制重启更新
ModuleList.34.ModuleCode 数据节点云盘加密 DiskEncryption
ModuleList.34.Config 取值 false:否;true:是
商业版类型且云盘型规格族实例才能加密,其他情况不要传此字段
ServicePeriodQuantity 购买时长 月:1~9;年:1
ServicePeriodUnit 购买时长单位 Month,Year
Quantity 购买数量 1:整数

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

接口参数和取值样例

  1. https://business.aliyuncs.com/? Action=GetSubscriptionPrice
  2. &ModuleList.1.Config=Region:cn-hangzhou
  3. &ModuleList.1.ModuleCode=Region
  4. &ModuleList.2.Config=ESVersion: 6.7
  5. &ModuleList.2.ModuleCode=ESVersion
  6. &ModuleList.3.Config=NodeSpec:elasticsearch.sn2ne.large
  7. &ModuleList.3.ModuleCode=NodeSpec
  8. &ModuleList.4.Config=NodeAmount:6
  9. &ModuleList.4.ModuleCode=NodeAmount
  10. &ModuleList.5.Config=DataDiskType:cloud_ssd
  11. &ModuleList.5.ModuleCode=DataDiskType
  12. &ModuleList.6.Config=Disk:2048
  13. &ModuleList.6.ModuleCode=Disk
  14. &ModuleList.7.Config=AdvancedMasterAvailable:true
  15. &ModuleList.7.ModuleCode=AdvancedMasterAvailable
  16. &ModuleList.8.Config=MasterNodeAmount:3
  17. &ModuleList.8.ModuleCode=MasterNodeAmount
  18. &ModuleList.9.Config=MasterDiskType:cloud_ssd
  19. &ModuleList.9.ModuleCode=MasterDiskType
  20. &ModuleList.10.Config= MasterDiskSize:20
  21. &ModuleList.10.ModuleCode=MasterDiskSize
  22. &ModuleList.11.Config=MasterNodeSpec:elasticsearch.sn2ne.large
  23. &ModuleList.11.ModuleCode=MasterNodeSpec
  24. &ModuleList.12.Config=KibanaNodeAvailable:true
  25. &ModuleList.12.ModuleCode=KibanaNodeAvailable
  26. &ModuleList.13.Config=KibanaNodeSpec:elasticsearch.n4.small
  27. &ModuleList.13.ModuleCode=KibanaNodeSpec
  28. &ModuleList.14.Config=InstanceType: x-pack
  29. &ModuleList.14.ModuleCode=InstanceType
  30. &OrderType=NewOrder
  31. &ProductCode=elasticsearch
  32. &ProductType=elasticsearchpre
  33. &Quantity=1
  34. &ServicePeriodQuantity=1
  35. &ServicePeriodUnit=Month
  36. &SubscriptionType=Subscription
  37. &公共参数

返回参数样例

  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": 10********,
  61. "PromotionName": "内部结算用户0元付"
  62. }
  63. ]
  64. },
  65. "OriginalPrice": 154,
  66. "TradePrice": 0,
  67. "Currency": "CNY"