mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
25 lines
384 B
Ruby
25 lines
384 B
Ruby
|
module Fog
|
||
|
module Compute
|
||
|
class Vsphere
|
||
|
|
||
|
class Datastore < Fog::Model
|
||
|
|
||
|
identity :id
|
||
|
|
||
|
attribute :name
|
||
|
attribute :datacenter
|
||
|
attribute :type
|
||
|
attribute :freespace
|
||
|
attribute :accessible # reachable by at least one hypervisor
|
||
|
attribute :capacity
|
||
|
|
||
|
def to_s
|
||
|
name
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|
||
|
end
|