Returns the OpenStack flavors
GEThttps://api.spectrocloud.com/v1/clouds/openstack/flavors
Returns the OpenStack flavors
Request
Query Parameters
cloudAccountUid string
Uid for the specific OpenStack cloud account
project string
project for which OpenStack flavors are requested
region string
region for which OpenStack flavors are requested
domain string
domain for which OpenStack flavors are requested
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
(empty)
- application/json
- Schema
- Example (from schema)
Schema
items
object[]
required
{
"items": [
{
"disk": 0,
"ephemeral": 0,
"id": "string",
"memory": 0,
"name": "string",
"vcpus": 0
}
]
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L 'https://api.spectrocloud.com/v1/clouds/openstack/flavors' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'