Method: Fog::Vcloud::Compute::Server#memory

Defined in:
lib/fog/vcloud/models/compute/server.rb

#memoryObject

[View source]

113
114
115
116
117
118
# File 'lib/fog/vcloud/models/compute/server.rb', line 113

def memory
  if memory_mess
    { :amount => memory_mess[:"rasd:VirtualQuantity"].to_i,
      :units => memory_mess[:"rasd:AllocationUnits"] }
  end
end