Class: VagrantPlugins::Deltacloud::Domain::HardwareProfile
- Defined in:
- lib/vagrant-deltacloud-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) ⇒ HardwareProfile
constructor
A new instance of HardwareProfile.
Methods inherited from Item
Constructor Details
#initialize(id, name, vcpus, ram, disk) ⇒ HardwareProfile
Returns a new instance of HardwareProfile.
80 81 82 83 84 85 |
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 80 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
78 79 80 |
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 78 def disk @disk end |
#ram ⇒ Object
The amount of RAM in Megaoctet
73 74 75 |
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 73 def ram @ram end |
#vcpus ⇒ Object
The number of vCPU
68 69 70 |
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 68 def vcpus @vcpus end |