Method: Fog::Compute::Joyent::Real#list_packages
- Defined in:
- lib/fog/joyent/requests/compute/list_packages.rb
#list_packages ⇒ Object
Lists all the packages available to the authenticated user
Returns
Exon::Response<Array>
-
name<~String> The “friendly name for this package
-
memory<~Number> How much memory will by available (in Mb)
-
disk<~Number> How much disk space will be available (in Gb)
-
swap<~Number> How much swap memory will be available (in Mb)
-
default<~Boolean> Whether this is the default package in this datacenter“
24 25 26 27 28 29 30 |
# File 'lib/fog/joyent/requests/compute/list_packages.rb', line 24 def list_packages request( :path => "/my/packages", :method => "GET", :expects => 200 ) end |