Forum Discussion
leeroya_167218
Nimbostratus
Aug 20, 2014IControl REST API get all partitions
How do I get all partitions from the REST Api?
kj07208_118528
Cirrus
Aug 20, 2014curl -k -u : -X GET https:///mgmt/tm/ltm/virtual/?$filter=partition%20eq%20ABC > V:\JsonViewerPackage\JsonView\virtualdmz.json
Do a search for iControl to get the manual (if not already)
Recommend getting Curl and JsonViewer
- kj07208_118528Aug 20, 2014
Cirrus
Sorry the editor removed some content curl -k -u [user name]:[password] -X GET https://[f5 domain name]/mgmt/tm/ltm/virtual/?$filter=partition%20eq%20ABC > V:\JsonViewerPackage\JsonView\virtualdmz.json This also have a filter set for the partition but if the filter is removed then it should return everything Name of the manual icontrol-rest-user-11-5-0.pdf - leeroya_167218Aug 21, 2014
Nimbostratus
Thank you, however if you pass nothing it gets you items for the Common partition as per documentation, I want to get the list of partitions, so that I can use them to query for nodes etc. I want items that are not int the Common partition and I want to discover the other partitions so that I can use them to get all data.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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