class Fog::Vsphere::Compute::Datacenter
Public Instance Methods
Source
# File lib/fog/vsphere/models/compute/datacenter.rb, line 10 def clusters(filters = {}) service.clusters({ datacenter: path.join('/') }.merge(filters)) end
Source
# File lib/fog/vsphere/models/compute/datacenter.rb, line 38 def customfields(filters = {}) service.customfields({ datacenter: path.join('/') }.merge(filters)) end
Source
# File lib/fog/vsphere/models/compute/datacenter.rb, line 18 def datastores(filters = {}) service.datastores({ datacenter: path.join('/') }.merge(filters)) end
Source
# File lib/fog/vsphere/models/compute/datacenter.rb, line 14 def networks(filters = {}) service.networks({ datacenter: path.join('/') }.merge(filters)) end
Source
# File lib/fog/vsphere/models/compute/datacenter.rb, line 34 def servertypes(filters = {}) service.servertypes({ datacenter: name }.merge(filters)) end
Source
# File lib/fog/vsphere/models/compute/datacenter.rb, line 22 def storage_pods(filters = {}) service.storage_pods({ datacenter: path.join('/') }.merge(filters)) end
Source
# File lib/fog/vsphere/models/compute/datacenter.rb, line 30 def virtual_machines(filters = {}) service.servers({ datacenter: path.join('/') }.merge(filters)) end
Source
# File lib/fog/vsphere/models/compute/datacenter.rb, line 26 def vm_folders(filters = {}) service.folders({ datacenter: name, type: :vm }.merge(filters)) end