Class: Fog::Compute::RackspaceV2::Flavor
- Inherits:
-
Model
- Object
- Model
- 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.
Instance Attribute Details
#disk ⇒ String (readonly)
Returns disk space in GB.
21 |
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 21 attribute :disk |
#id ⇒ String (readonly)
Returns The flavor id.
9 |
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 9 identity :id |
#links ⇒ Array (readonly)
Returns flavor links.
29 |
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 29 attribute :links |
#name ⇒ String (readonly)
Returns flavor name.
13 |
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 13 attribute :name |
#rame ⇒ Fixnum (readonly)
Returns ram in MB.
17 |
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 17 attribute :ram |
#vcpus ⇒ Fixnum (readonly)
Returns number of virtual CPUs.
25 |
# File 'lib/fog/rackspace/models/compute_v2/flavor.rb', line 25 attribute :vcpus |