Rob_74473
Oct 22, 2018Cirrus
removing the last moniotr from a pool in the python sdk
I have some code where I can add and remove monitors from pools using:
pool = self.bigip_root.tm.ltm.pools.pool.load(partition=self.partition, name=pool_name)
pool.update(monitor='/Common/http and /Common/https')
But, when I get to the last monitor, I can't remove it. What I'm doing is:
pool.update(monitor='')
But, this doesn't do anything. How do I remove the last monitor in python?