$filter on more than just partition? - Any way to search/list LTM virtual by (partial) destination?

I’m in need of the ability to find one or more virtual servers in the active LTM configuration which have a specified IP as their destination; per the iControl REST documentation it says they support the oData $filter spec - with the caveat that they also only support the ‘eq’ operator… upon further investigation it seems the rest api also only supports $filter against the ‘partition’ field.

Does anyone have a good method then to query/filter a query of all virtual servers? For example, I want to do something like this:

Instead of: /mgmt/tm/ltm/virtual/?$select=name,destination ← this gives what I need, but gives whole list all the time – takes ~20+ seconds to send/parse because we have thousands of virtuals

I instead need a simple way to get the above, but filter it like: /mgmt/tm/ltm/virtual/?$select=name,destination&$filter=substring(’10.20.30.239’,destination)%20eq%20true

(the intent being, give me a filtered list where destination has this IP address in it)

I’m open to any suggestions including alternate methods at this point. Please let me know.

Hi,

Were you able to find a workaround for this? I’ve run into a similar problem (with the ASM module).

you should be able to do the VS filtered by dest IP from TMSH if that was of any use..