Methods

Class/Module Index [+]

Quicksearch

Fog::Compute::Vsphere::Networks

Attributes

datacenter[RW]

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.