    # File lib/fog/ecloud/requests/compute/virtual_machine_edit_hardware_configuration.rb, line 53
            def virtual_machine_edit_hardware_configuration(vm_uri, data)

              server_id = vm_uri.match(/(\d+)/)[1]

              server  = self.data[:servers][server_id.to_i]
              task_id = Fog::Mock.random_numbers(10)
              task = {
                :id            => task_id,
                :href          => "/cloudapi/ecloud/tasks/#{task_id}",
                :type          => "application/vnd.tmrk.cloud.task",
                :Operation     => "Configure Server",
                :Status        => "Complete",
                :ImpactedItem  => Fog::Ecloud.keep(server, :name, :href, :type),
                :StartTime     => Time.now.iso8601,
                :CompletedTime => Time.now.iso8601,
                :InitiatedBy   => {},
              }
              self.data[:tasks][task_id] = task

              response(:body =>  task)
            end