7a606bbb87
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
57 lines
1.6 KiB
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|