List flavors (GET /v1.0/{tenantId}/flavors)
Lists information for all flavors.
Request URI
{tenantID}
Project ID of the owner of the instance
Data Type | Cardinality |
---|---|
String | 1..1 |
Request Parameters
marker
A pagination token used to establish the starting point for retrieving the list.
Note: Specify the marker returned in the previous list.
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | 0..1 | None | None |
limit
Number of elements to display
20 to 100
Default:20
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
Integer | 0..1 | None | None |
Response Headers
Status
Returns the status of the request.
One of the following values will be returned.
- 401:
- unauthorized
- 403:
- forbidden
- 500:
- instanceFault
- 501:
- notImplemented
- 503:
- serviceUnavailable
- 504:
- gatewayTimeout
Data Type | Cardinality |
---|---|
Int | 1.1 |
Response Elements
flavors
List of flavors
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
flavor structures list | None | id links name |
id
ID of the flavor
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | flavors | None |
links
URI to the flavor
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | flavors | None |
name
Name of the flavor
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | flavors | None |
Example of Response
{
"flavors": [
{
"id": "11",
"name": "economy",
"links": [
{
"href":" http://database.{region-name}.tps5.fujitsu.com/v1.0/1234/flavors/11",
"rel":"SELF"
}
],
},
{
"id": "12",
"name": "standard",
"links": [
{
"href":" http://database.{region-name}.tps5.fujitsu.com/v1.0/1234/flavors/12",
"rel":"SELF"
}
],
}
]
}