code: def enter_maintenance_mode(self):
      
      cmd = self._cmd('enterMaintenanceMode')
      if cmd.success:
        self._update(get_host(self._get_resource_root(), self.hostId))
      return cmd
docs: Put the host in maintenance mode.
  
      @return: Reference to the completed command.
      @since: API v2