Sha256: e96235be3fcbbc38cb53e3e8d02662cff26ae5616f0448ad46436e74cb8c65f4
Contents?: true
Size: 512 Bytes
Versions: 13
Compression:
Stored size: 512 Bytes
Contents
module Fog module Vsphere class Compute class ResourcePools < Fog::Collection model Fog::Vsphere::Compute::ResourcePool attr_accessor :datacenter, :cluster def all(filters = {}) load service.list_resource_pools(filters.merge(datacenter: datacenter, cluster: cluster)) end def get(id) requires :datacenter requires :cluster new service.get_resource_pool(id, cluster, datacenter) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems