Show flavor details (GET /v1.0/{tenantId}/flavors/{flavorId})
Shows details of a flavor.
Request URI
{tenantID}
Project ID of the owner of the instance
Data Type | Cardinality |
---|---|
String | 1..1 |
{flavorId}
ID of the flavor
Data Type | Cardinality |
---|---|
String | 1..1 |
Request Parameters
n/a
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
flavor
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
None | id links name ram vcpus disk swap |
id
ID of the flavor
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | flavor | None |
links
URI to the flavor
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | flavor | None |
name
Name of the flavor
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | flavor | None |
ram
Memory size (MB)
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
Integer | flavor | None |
vcpus
Number of virtual CPU cores
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | flavor | None |
disk
Size of the root disk (GB)
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
CharacterSet | flavor | None |
swap
Swap space allocated to the instance (MB)
Data Type | Cardinality | Parent Element | Child Element(s) |
---|---|---|---|
String | flavor | None |
Example of Response
{
"flavor": {
"id": "11",
"links": [
{
"href":" http://database.{region-name}.tps5.fujitsu.com/v1.0/1234/flavors/11",
"rel":"SELF"
}
],
"name": "economy",
"ram": "1700",
"vcpus": "1",
"disk": "0",
"swap": null
}
}