create function from VirtualServerResource now throws InvalidParameterException when some necessary parameter is not filled