Sha256: e68c10779295e8d5f9ff5dcbf283bf028aad8e2f1a7d6b8dfff200c268172c0e
Contents?: true
Size: 413 Bytes
Versions: 28
Compression:
Stored size: 413 Bytes
Contents
require 'fog/core/collection' require 'fog/vsphere/models/compute/datacenter' module Fog module Compute class Vsphere class Datacenters < Fog::Collection model Fog::Compute::Vsphere::Datacenter def all(filters = {}) load service.list_datacenters(filters) end def get(name) new service.get_datacenter(name) end end end end end
Version data entries
28 entries across 28 versions & 4 rubygems