Class: Fog::Compute::RackspaceV2::Flavor

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/rackspace/models/compute_v2/flavor.rb

Instance Attribute Summary collapse

Instance Attribute Details

#diskString (readonly)

Returns disk space in GB.

Returns:

  • (String)

    disk space in GB



21
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 21

attribute :disk

#idString (readonly)

Returns The flavor id.

Returns:



9
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 9

identity :id

Returns flavor links.

Returns:

  • (Array)

    flavor links.



29
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 29

attribute :links

#nameString (readonly)

Returns flavor name.

Returns:



13
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 13

attribute :name

#rameFixnum (readonly)

Returns ram in MB.

Returns:

  • (Fixnum)

    ram in MB



17
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 17

attribute :ram

#vcpusFixnum (readonly)

Returns number of virtual CPUs.

Returns:

  • (Fixnum)

    number of virtual CPUs



25
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 25

attribute :vcpus