Description
Show the specific VM Plan(flavor) Details.
Request URL
Compute API v2.0
GET /v2/{tenant_id}/flavors/{flavor_id}
Request Paramters
| Parameter | Value | Style | Description |
|---|---|---|---|
| X-Auth-Token | User Token | header | |
| flavor_id | Flavor ID | plain |
Request Json
This operation does not accept a request body.
Normal response codes
200
Example
curl -i -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://compute.tyo1.cloud.z.com/v2/1864e71d2deb46f6b47526b69c65a45d/flavors/294639c7-72ba-43a5-8ff2-513c8995b869
HTTP/1.1 200 OK
Date: Tue, 09 Dec 2014 02:56:46 GMT
Server: Apache
Content-Length: 493
Content-Type: application/json
{
"flavor": {
"OS-FLV-DISABLED:disabled": false,
"OS-FLV-EXT-DATA:ephemeral": 0,
"disk": 50,
"id": "294639c7-72ba-43a5-8ff2-513c8995b869",
"links": [
{
"href": "https://compute.tyo1.cloud.z.com/v2/1864e71d2deb46f6b47526b69c65a45d/flavors/294639c7-72ba-43a5-8ff2-513c8995b869",
"rel": "self"
},
{
"href": "https://compute.tyo1.cloud.z.com/1864e71d2deb46f6b47526b69c65a45d/flavors/294639c7-72ba-43a5-8ff2-513c8995b869",
"rel": "bookmark"
}
],
"name": "g-2gb",
"os-flavor-access:is_public": true,
"ram": 2048,
"rxtx_factor": 1,
"swap": "",
"vcpus": 3
}
}