List available machine types for a provider, region and zone
GET/api/v1/providers/:providerId/regions/:regionId/machinetypes
Lists all available machine types for the specified provider, region and zone
Request
Path Parameters
providerId stringrequired
Provider Id
regionId stringrequired
Region Id
zoneId stringrequired
Zone Id
Header Parameters
X-API-KEY stringrequired
APIKey
Responses
- 200
- 400
- 500
An array of machine types
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
architecture string[]
category string
infos
object
property name* any
memoryMb integer
name string
onDemandPricePerHour string
osPlatform string
spotPricePerHour string
timeGenerated string
vCPU integer
zone string
id string
message string
status string
{
"data": [
{
"architecture": [
"string"
],
"category": "string",
"infos": {},
"memoryMb": 0,
"name": "string",
"onDemandPricePerHour": "string",
"osPlatform": "string",
"spotPricePerHour": "string",
"timeGenerated": "string",
"vCPU": 0,
"zone": "string"
}
],
"id": "string",
"message": "string",
"status": "string"
}
invalid providerId
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
internal server error
- application/json
- Schema
- Example (from schema)
Schema
error string
error_code string
{
"error": "string",
"error_code": "string"
}
Loading...