Forum Discussion
F5: curl command to add health-check to a pool
Sorry buddy even though I understand your pain and know where you are coming from, I don think its possible. Atleast not at the moment(maybe they will support in future).When you use PUT and specify a value for name, it will replace the existing configuration of that property. So if you do a post and specify https in your monitor value. It will replace all existing monitors, and just add the new one. There is some flexibility if the property is a collection or sub-collection(like members of pool), then you can have the URL of your PUT refer to a particular member of that collection. You can easily identify a collection in REST GET output, as a collection will be enclosed in square brackets. And to be honest I don't think you can achieve the same result with tmsh as well. So anything that cannot be done with tmsh, should be highly unlikely with REST as well, as far as my understanding is.
Recent Discussions
Related Content
* 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