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/xenserver/models/compute/vmpp.rb
Paulo Henrique Lopes Ribeiro 2b9ac7dec1 Adding more XenServer models
2013-12-12 10:16:21 -02:00

35 lines
1 KiB
Ruby

require 'fog/core/model'
module Fog
module Compute
class XenServer
class Vmpp < Fog::Model
# API Reference here:
# http://docs.vmd.citrix.com/XenServer/6.2.0/1.0/en_gb/api/?c=VMPP
identity :reference
attribute :alarm_config
attribute :archive_frequency
attribute :archive_last_run_time
attribute :archive_schedule
attribute :archive_target_config
attribute :archive_target_type
attribute :backup_frequency
attribute :backup_last_run_time
attribute :backup_retention_value
attribute :backup_schedule
attribute :backup_type
attribute :is_alarm_enabled
attribute :is_archive_running
attribute :is_backup_running
attribute :is_policy_enabled
attribute :description, :aliases => :name_description
attribute :name, :aliases => :name_label
attribute :recent_alerts
attribute :uuid
attribute :__vms, :aliases => :VMs
end
end
end
end