Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Vsphere::Datastores

Attributes

datacenter[RW]

Public Instance Methods

all(filters = {}) click to toggle source
# File lib/fog/vsphere/models/compute/datastores.rb, line 13
def all(filters = {})
  load service.list_datastores(filters.merge(:datacenter => datacenter))
end
get(id) click to toggle source
# File lib/fog/vsphere/models/compute/datastores.rb, line 17
def get(id)
  requires :datacenter
  new service.get_datastore(id, datacenter)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.