1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/vcloudng/requests/compute/get_vm_memory.rb
2013-06-27 18:44:27 +02:00

19 lines
433 B
Ruby

module Fog
module Compute
class Vcloudng
class Real
def get_vm_memory(vm_id)
request(
:expects => 200,
:headers => { 'Accept' => 'application/*+xml;version=1.5' },
:method => 'GET',
:parser => Fog::ToHashDocument.new,
:path => "vApp/#{vm_id}/virtualHardwareSection/memory"
)
end
end
end
end
end