# File lib/fog/libvirt/models/compute/pool.rb, line 74 def destroy( destroy_options={}) requires :raw # Shutdown pool if active @raw.destroy if @raw.active? # Delete corresponding data in this pool # @raw.delete # If this is a persistent domain we need to undefine it @raw.undefine if @raw.persistent? end