disabling monitoring for pool member
Hi,
I'm converting a system implemented in Java from iControl to iControlREST and I'm having difficulties finding how to disable the monitoring for a pool member.
With iControl you can set the a LocalLBPoolMemberMemberSessionState to iControl.CommonEnabledState.STATE_ENABLED or iControl.CommonEnabledState.STATE_DISABLED to do so.
But from the iControlREST API, it's not so clear, as the "session" cannot be changed from "monitor-enabled" to "monitor-disabled".
I know I can turn the pool member offline and online again by setting a combination of "session" and "state" as indicated here:
https://devcentral.f5.com/articles/icontrol-rest-working-with-pool-members
But I can't seem to figure out how to replicate the behavior of iControl to only disable monitoring.
Thanks in advance to anyone who can point me in the right direction...