class Fog::Compute::Vsphere::Datacenters

Public Instance Methods

all(filters = {}) click to toggle source
# File lib/fog/vsphere/models/compute/datacenters.rb, line 9
def all(filters = {})
  load service.list_datacenters(filters)
end
get(name) click to toggle source
# File lib/fog/vsphere/models/compute/datacenters.rb, line 13
def get(name)
  new service.get_datacenter(name)
end