Class Fog::Compute::Softlayer::Flavors
In: lib/fog/softlayer/models/compute/flavors.rb
Parent: Fog::Collection

Methods

all   get  

Public Instance methods

Returns an array of all flavors that have been created

Fog::Softlayer.flavors.all

 Used to retrieve a flavor
 flavor_id is required to get the associated flavor information.
 flavors available currently:

 m1.tiny

 You can run the following command to get the details:
 Softlayer.flavors.get("m1.tiny")

 ==== Returns

>> Softlayer.flavors.get("m1.tiny")

 <Fog::Softlayer::Compute::Flavor
  id="m1.tiny",
  cores=1,
  disk=160,
  name="Tiny Instance",
  ram=1024
 >

[Validate]