mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
19 lines
380 B
Ruby
19 lines
380 B
Ruby
|
require 'fog/core/model'
|
||
|
|
||
|
module Fog
|
||
|
module Compute
|
||
|
class HPV2
|
||
|
class Flavor < Fog::Model
|
||
|
identity :id
|
||
|
|
||
|
attribute :name
|
||
|
attribute :disk
|
||
|
attribute :ram
|
||
|
attribute :cores, :aliases => 'vcpus'
|
||
|
attribute :ephemeral_disk, :aliases => 'OS-FLV-EXT-DATA:ephemeral'
|
||
|
attribute :links
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|