Forum Discussion
1 Reply
Sort By
- samstepCirrocumulusin iControl SDK for some strange reason this is implemented the other way round:
I've looked through the SDK pretty thoroughly, but haven't found the method that would allow me to obtain the of virtual servers defined when providing a server name.
I would think this would be pretty staightforward and hope that I'm just overlooking something.
Thanks!
First you get the list of all Virtual Servers using:
GlobalLB.VirtualServer->get_list();
then you get the Server names for the above list using GlobalLB.VirtualServer->get_server(...) method
So you get two arrays - one with all the Virtual Servers and another one with the names of their Servers, you can now extract/calculate the required counts...
Sam