Using iControlRest to modify LTM pools
Problem this snippet solves: I was recently asked how to use the REST API to add nodes to an existing LTM pool. The use case is one where the customer would spin up a new server in Amazon and wanted...
Published Mar 09, 2015
Version 1.0Baron_of_Strath
Historic F5 Account
Joined May 04, 2019
Baron_of_Strath
Historic F5 Account
Joined May 04, 2019
NikhilB
Oct 20, 2017Employee
Missing an open/close bracket. This is what worked for me:
curl -sk -u 'admin:admin' -H "Content-Type: application/json" -X PUT https://10.128.10.5/mgmt/tm/ltm/pool/test-pool -d '{"members":[{"name":"Server-Steve:443","address":"10.0.1.1"},{"name":"Server-Bob:443","address":"10.0.0.1"}]}'