Parent

Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Vsphere::Servertypes

Attributes

datacenter[RW]
fullname[RW]
id[RW]

Public Instance Methods

all(filters = { }) click to toggle source
# File lib/fog/vsphere/models/compute/servertypes.rb, line 11
def all(filters = { })
  load service.list_server_types(filters.merge({:datacenter => datacenter}))
end
get(id) click to toggle source
# File lib/fog/vsphere/models/compute/servertypes.rb, line 15
def get(id)
  requires :datacenter
  new service.get_server_type(id, datacenter)
rescue Fog::Compute::Vsphere::NotFound
  nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.