class Fog::Compute::Vsphere::Cdroms
Public Instance Methods
all(filters = {})
click to toggle source
# File lib/fog/vsphere/models/compute/cdroms.rb, line 8 def all(filters = {}) load service.list_vm_cdroms(instance_uuid) end
get(unit_number)
click to toggle source
# File lib/fog/vsphere/models/compute/cdroms.rb, line 12 def get(unit_number) all.find { |cdrom| cdrom.unit_number == unit_number } end