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/rackspace/models/compute_v2/image.rb
2012-08-06 20:38:48 -04:00

30 lines
669 B
Ruby

require 'fog/core/model'
module Fog
module Compute
class RackspaceV2
class Image < Fog::Model
UNKNOWN = 'UNKNOWN'
ACTIVE = 'ACTIVE'
SAVING = 'SAVING'
ERROR = 'ERROR'
DELETED = 'DELETED'
identity :id
attribute :name
attribute :created
attribute :updated
attribute :state, :aliases => 'status'
attribute :user_id
attribute :tenant_id
attribute :progress
attribute :minDisk
attribute :minRam
attribute :metadata
attribute :disk_config, :aliases => 'OS-DCF:diskConfig'
attribute :links
end
end
end
end