    # File lib/fog/ecloud/models/compute/server.rb, line 169
            def detach_disk(index)
              options               = {}
              options[:disk]        = disks.detect { |disk_hash| disk_hash[:Index] == index.to_s }
              options[:name]        = self.name
              options[:description] = self.description
              data                  = service.virtual_machine_detach_disk(href + "/hardwareconfiguration/disks/actions/detach", options).body
              detached_disk         = self.service.detached_disks.new(data)
            end