Forum Discussion
lior
Jun 15, 2022Nimbostratus
how to get vip name and address(destination) with json
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 ...
Jun 20, 2022
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.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects