mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
26 lines
No EOL
604 B
Ruby
26 lines
No EOL
604 B
Ruby
require 'fog/model'
|
|
|
|
module Fog
|
|
module AWS
|
|
module EC2
|
|
|
|
class Image < Fog::Model
|
|
|
|
identity :id, 'imageId'
|
|
|
|
attribute :architecture
|
|
attribute :location, 'imageLocation'
|
|
attribute :owner_id, 'imageOwnerId'
|
|
attribute :state, 'imageState'
|
|
attribute :type, 'imageType'
|
|
attribute :is_public, 'isPublic'
|
|
attribute :kernel_id, 'kernelId'
|
|
attribute :platform
|
|
attribute :product_codes, 'productCodes'
|
|
attribute :ramdisk_id, 'ramdiskId'
|
|
|
|
end
|
|
|
|
end
|
|
end
|
|
end |