Class: Fog::Compute::RackspaceV2::Flavor
- Defined in:
- lib/fog/rackspace/models/compute_v2/flavor.rb
Instance Attribute Summary collapse
-
#disk ⇒ String
readonly
Disk space in GB.
-
#id ⇒ String
readonly
The flavor id.
-
#links ⇒ Array
readonly
Flavor links.
-
#name ⇒ String
readonly
Flavor name.
-
#rame ⇒ Fixnum
readonly
Ram in MB.
-
#vcpus ⇒ Fixnum
readonly
Number of virtual CPUs.
Attributes inherited from Model
Method Summary
Methods inherited from Model
#initialize, #inspect, #reload, #symbolize_keys, #to_json, #wait_for
Methods included from Attributes::ClassMethods
#_load, #aliases, #attribute, #attributes, #identity, #ignore_attributes, #ignored_attributes
Methods included from Fog::Core::DeprecatedConnectionAccessors
#connection, #connection=, #prepare_service_value
Methods included from Attributes::InstanceMethods
#_dump, #attributes, #dup, #identity, #identity=, #merge_attributes, #new_record?, #persisted?, #requires, #requires_one
Constructor Details
This class inherits a constructor from Fog::Model
Instance Attribute Details
#disk ⇒ String (readonly)
Returns disk space in GB.
23 |
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 23 attribute :disk |
#id ⇒ String (readonly)
Returns The flavor id.
10 |
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 10 identity :id |
#links ⇒ Array (readonly)
Returns flavor links.
31 |
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 31 attribute :links |
#name ⇒ String (readonly)
Returns flavor name.
15 |
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 15 attribute :name |
#rame ⇒ Fixnum (readonly)
Returns ram in MB.
19 |
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 19 attribute :ram |
#vcpus ⇒ Fixnum (readonly)
Returns number of virtual CPUs.
27 |
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 27 attribute :vcpus |