esch_tz_201996
Feb 12, 2016Nimbostratus
iControl REST API: How to get the pool from a VIP+PORT
My goal is to get the pool's member status given a VIP and I would to do that by using the iControl REST API
As far as I know I have to:
- find the VirtualServer by using the VIP
- find the Pool by using the VirtualServer
- get the members status by using the Pool
The most difficult step seems to be the first one. I am not sure if it is possible to find the right VirtualServer by using the $filter query parameter:
https://ip.ip.ip.ip/mgmt/tm/ltm/virtual?$filter=destination+eq+/Common/VIP.VIP.VIP.VIP:443
The example above doesn't work as I am still getting the full VirtualServers list
Is there a way to query the iControl REST API to get only the required VirtualServer by using the VIP?