[server][HostResourceQueryOption] Eliminate the user of the input parameter to be code simple.