Sha256: 64f0311ebf92a541661f1e4b509f2d305cd0aae9b1d517bfb270c9fe2ff7d9eb
Contents?: true
Size: 517 Bytes
Versions: 65
Compression:
Stored size: 517 Bytes
Contents
require 'fog/core/collection' require 'fog/vsphere/models/compute/datastore' module Fog module Compute class Vsphere class Datastores < Fog::Collection model Fog::Compute::Vsphere::Datastore attr_accessor :datacenter def all(filters = {}) load service.list_datastores(filters.merge(:datacenter => datacenter)) end def get(id) requires :datacenter new service.get_datastore(id, datacenter) end end end end end
Version data entries
65 entries across 65 versions & 6 rubygems