Search by UUID if nFlags is 0 or PGVC_SEARCH_BY_UUID, by name, if nFlags is PGVC_SEARCH_BY_NAME and search first by uuid, then by name if nFlags is PGVC_SEARCH_BY_UUID | PGVC_SEARCH_BY_NAME. PGVC_FILL_AUTOGENERATED indicates that config should include implicit autogenerated params.