Forum Discussion
Gurpreet_40964
Nimbostratus
Apr 25, 2018How to set pool member ratio via iControl?
Need to know if we can set ratio of pool member via IControl jar file in JAVA, please explain which all classes needs to be used. Working example would be awesome..
- jaikumar_f5
Noctilucent
Something like this,
curl -sku admin:admin -H "Content-Type: application/json" -X PATCH https://1.1.1.1/mgmt/tm/ltm/pool/dummypool/ -d '{"members":[{"name": "1.1.1.1:80","ratio": 2},{"name": "1.1.1.2:80","ratio": 1},{"name": "1.1.1.3:80","ratio": 1},{"name": "1.1.1.4:80","ratio": 1}]}'
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