Sha256: a0205419ab27d25a7bc7571767fc3caa9ca51bfd159ff39efbd10409b0d1e3fb
Contents?: true
Size: 515 Bytes
Versions: 23
Compression:
Stored size: 515 Bytes
Contents
require 'fog/core/collection' require 'fog/vsphere/models/compute/storage_pod' module Fog module Vsphere class Compute class StoragePods < Fog::Collection model Fog::Vsphere::Compute::StoragePod attribute :datacenter def all(filters = {}) load service.list_storage_pods(filters.merge(datacenter: datacenter)) end def get(id) requires :datacenter new service.get_storage_pod(id, datacenter) end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems