'Terminate an instance.'

@check_instance_lock
@check_instance_cell
@check_instance_state(vm_state=None, task_state=None, must_have_launched=False)
def delete(self, context, instance):

    LOG.debug('Going    to    try    to    terminate    instance', instance=instance)
    self._delete_instance(context, instance)
