15-Jun-2022 07:15
Hi,
I want to get all vip's name and their address(destination) with rest api.
I was able to get all the vips with postman with get - "https://localf5/mgmt/tm/ltm/virtual".
I can't figure a way to get only the name of the vip and address
have anyone manage to do that?
eventually, I want to build a script that create another vip with the same address but diffrent port
and for that I need to check the ip of the vip
thanks,
20-Jun-2022 01:55
Hi,
To obtain the information from a specific virtual server you have to specify the partition and the VS name:
https://192.168.138.11/mgmt/tm/ltm/virtual/~Common~VS-WAF
In the example the partition is Common and the virtual server name is VS-WAF, if you want to create a script you have to read the destination field to obtain the IP.
Hope it´s works.