MarkM_63051
Dec 02, 2011Nimbostratus
How to remove a virtual server from a pool
Hello,
I am really glad that this forum exists! I have been searching the web and the iControl SDK but I cannot figure out how to delete a pool after it has been assigned to a virtual server. I found the APIs to set a default pool name, but I can't find the unset command.
String[] virtAddressList = lblVirtServer.get_list();
lblVirtServer.set_default_pool_name(new String[]{"PetclinicVS"}, new String[]{poolName});
Questions:
1. Is there a better way to assign a pool to a virtual server other than dinking with the defaults? Why isn't there an "assign_pool_to_virtual_server" API?
2. What is the remove API? I don't see an applicable one on SDK page "LocalLB\VirturalServer".
Thanks again for your help,
Mark