[server][HostResourceQueryOption] Simplify the implementation.