The Destination type set depending on what the destination and wildmask values are. The relevant methods are LocalLB::VirtualServer::set_destination() and LocalLB::VirtualServer::set_wildmask(). For example, passing in a destination of 1.2.3.4:80 with a wildmask of 255.255.255.255 will result in a Host Virtual server. Passing in a destination of 1.2.3.0:80 with a wildmask of 255.255.255.0 will result in a Network Virtual Server.
As for the Configuration type, this is set by the LocalLB::VirtualServer::set_type() call. In this call you can set the virtual to one of the following VirtualServerType values:
RESOURCE_TYPE_POOL - The virtual server is based on a pool.
RESOURCE_TYPE_IP_FORWARDING - The virtual server only supports IP forwarding. There is no load balancing on this type of virtual server.
RESOURCE_TYPE_L2_FORWARDING - The virtual server only supports L2 forwarding. There is no load balancing on this type of virtual server.
RESOURCE_TYPE_REJECT - All connections going to this virtual server will be rejected, and resets will be sent.
RESOURCE_TYPE_FAST_L4 - The virtual server is based on the Fast L4 profile.
RESOURCE_TYPE_FAST_HTTP - The virtual server is based on the Fast HTTP profile.
I believe that RESOURCE_TYPE_POOL equates to "Standard".
-Joe