Class: VagrantPlugins::Openstack::Domain::Flavor
- Defined in:
- lib/vagrant-openstack-illuin-provider/client/domain.rb
Instance Attribute Summary collapse
-
#disk ⇒ Object
The size of root disk in Gigaoctet.
-
#ram ⇒ Object
The amount of RAM in Megaoctet.
-
#vcpus ⇒ Object
The number of vCPU.
Attributes inherited from Item
Instance Method Summary collapse
-
#initialize(id, name, vcpus, ram, disk) ⇒ Flavor
constructor
A new instance of Flavor.
Methods inherited from Item
Constructor Details
#initialize(id, name, vcpus, ram, disk) ⇒ Flavor
Returns a new instance of Flavor.
64 65 66 67 68 69 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 64 def initialize(id, name, vcpus, ram, disk) @vcpus = vcpus @ram = ram @disk = disk super(id, name) end |
Instance Attribute Details
#disk ⇒ Object
The size of root disk in Gigaoctet
62 63 64 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 62 def disk @disk end |
#ram ⇒ Object
The amount of RAM in Megaoctet
57 58 59 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 57 def ram @ram end |
#vcpus ⇒ Object
The number of vCPU
52 53 54 |
# File 'lib/vagrant-openstack-illuin-provider/client/domain.rb', line 52 def vcpus @vcpus end |