Flavor

(Difference between revisions)
Jump to: navigation, search
(Created page with "Get a single flavor with size details. '''GET''' /flavors/detail/'''id''' == Parameters == ; id : The unique identifier of the flavor to be retrieved. ''Note see warnings in...")
 
(JSON)
Line 9: Line 9:
 
== Result ==
 
== Result ==
 
=== JSON ===
 
=== JSON ===
<nowiki>
+
 
 +
<big><source lang="javascript">
 
{
 
{
 
   "flavor":{
 
   "flavor":{
Line 25: Line 26:
 
   }
 
   }
 
}
 
}
</nowiki>
+
</big></source>
  
 
; id - ''string''
 
; id - ''string''

Revision as of 16:26, 1 February 2012

Get a single flavor with size details.

GET /flavors/detail/id

Parameters

id
The unique identifier of the flavor to be retrieved. Note see warnings in Hypermedia.

Result

JSON

{
   "flavor":{
      "name":"Small",
      "links":[
         {
            "href":"http://127.0.0.1:6543/flavors/2/",
            "rel":"self"
         }
      ],
      "vcpu":"1",
      "ram":512,
      "disk":10,
      "id":"2"
   }
}
</big>
id - string
Unique identifier for this flavor.
links - array
Hypermedia for this resource.
name - string
Descriptive name for this flavor.
ram - number
Memory allocated with this flavor. Specified in MB.
disk - number
Disk space allocated with this flavor. Specified in GB.
vcpu - number
Number of CPUs allocated with this flavor.


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox