distil/api-ref/source/samples/get-products-response.json
Fei Long Wang 7a606bbb87 Add API ref
To get a better API spec, this patch is following the OpenStack
community way to describe API ref. Only /products endpoint is
included, costs and usage endpoint will be added in following
patches.

Implement blueprint: api-ref

Change-Id: Icaa121c4257fcc27df93e63ec8c2bb095ac41c43
2017-09-15 14:37:13 +12:00

57 lines
1.6 KiB
JSON

{
"products": {
"nz-por-1": {
"compute": [
{
"price": 0.711,
"resource": "c1.c16r16",
"description": "16 vCPU, 16 GB RAM",
"unit": "hour"
},
],
"network": [
{
"price": 0.006,
"resource": "n1.ipv4",
"description": "Floating public IP (IPv4)",
"unit": "hour"
},
],
"block storage": [
{
"price": 0.0005,
"resource": "b1.standard",
"description": "Standard tier",
"unit": "gigabyte"
}
]
},
"nz-hlz-1": {
"compute": [
{
"price": 0.711,
"resource": "c1.c16r16",
"description": "16 vCPU, 16 GB RAM",
"unit": "hour"
},
],
"network": [
{
"price": 0.006,
"resource": "n1.ipv4",
"description": "Floating public IP (IPv4)",
"unit": "hour"
},
],
"block storage": [
{
"price": 0.0005,
"resource": "b1.standard",
"description": "Standard tier",
"unit": "gigabyte"
}
]
}
}
}