Sha256: cdb8adb4597d347b4c9896386cd9d1a3a06ad327311fd636482d424e760cb2eb
Contents?: true
Size: 540 Bytes
Versions: 33
Compression:
Stored size: 540 Bytes
Contents
module Fog module Compute class Vsphere class Datastores < Fog::Collection autoload :Datastore, File.expand_path('../datastore', __FILE__) model Fog::Compute::Vsphere::Datastore attr_accessor :datacenter, :cluster def all(filters = {}) load service.list_datastores(filters.merge(:datacenter => datacenter, :cluster => cluster)) end def get(id) requires :datacenter new service.get_datastore(id, datacenter) end end end end end
Version data entries
33 entries across 33 versions & 1 rubygems