code: def rollback(gandi, resource, background):
      
      result = gandi.disk.rollback(resource, background)
  
      if background:
          gandi.pretty_echo(result)
      return result
docs: Rollback a disk from a snapshot.