Returns node types (with prices) for a given region of a given cloud provider
GET/api/v2/metadata/cloud/:cloud/regions/:region/nodetypes
Returns node types (with prices) for a given region of a given cloud provider
Request
Path Parameters
cloud stringrequired
The cloud provider to retrieve instance types/prices for
region stringrequired
The region to retrieve instance types/prices for
Responses
- 200
- 401
- 403
- 404
- 500
A list of instance types with their pricing
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
undefined[]
required
availableRegions string[]
category stringrequired
gpuType string
gpus int64
mCpus int64required
mem int64required
name stringrequired
prices
object
required
property name* integer
refreshed stringrequired
{
"items": [
{
"availableRegions": [
"string"
],
"category": "string",
"gpuType": "string",
"gpus": 0,
"mCpus": 0,
"mem": 0,
"name": "string",
"prices": {}
}
],
"refreshed": "string"
}
If not authenticated
If authenticated but not authorized
cloud or region doesn't exist
A generic API error containing the cause of the error
- application/json
- Schema
- Example (from schema)
Schema
code int32required
detail stringrequired
message stringrequired
uri stringrequired
verb stringrequired
{
"code": 0,
"detail": "string",
"message": "string",
"uri": "string",
"verb": "string"
}
Loading...