class Fog::Compute::XenServer::ServerAppliances
Public Instance Methods
all(options={})
click to toggle source
# File lib/fog/xenserver/models/compute/server_appliances.rb, line 10 def all(options={}) data = service.get_records 'VM_appliance' load(data) end
get( server_appliance_ref )
click to toggle source
# File lib/fog/xenserver/models/compute/server_appliances.rb, line 15 def get( server_appliance_ref ) if server_appliance_ref && server_appliance = service.get_record( server_appliance_ref, 'VM_appliance' ) new(server_appliance) else nil end end