lib/vcloud/core/vm.rb
def attach_independent_disks(disk_list)
        disk_list = Array(disk_list) # ensure we have an array
        disk_list.each do |disk|
          Vcloud::Core::Fog::ServiceInterface.new.post_attach_disk(id, disk.id)
        end
      end
# Attach independent disk(s) to VM
#
# @param disk_list [Array] an array of Vcloud::Core::IndependentDisk objects
# @return [Boolean] return true or throw an error
Attach independent disk(s) to VM
Attach independent disk ( s ) to VM
def attach_independent_disks(disk_list)
        disk_list = Array(disk_list) 
        disk_list.each do |disk|
          Vcloud::Core::Fog::ServiceInterface.new.post_attach_disk(id, disk.id)
        end
      end
def attach_independent_disks ( disk_list ) disk_list = Array ( disk_list ) disk_list . each do | disk | Vcloud :: Core :: Fog :: ServiceInterface . new . post_attach_disk ( id , disk . id ) end end
Attach independent disk(s) to VM
Attach independent disk ( s ) to VM
# ensure we have an array
return true or throw an error
return true or throw an error
Boolean
disk_list
an array of Vcloud::Core::IndependentDisk objects
an array of Vcloud :: Core :: IndependentDisk objects